diff options
Diffstat (limited to 'accel-pppd/shaper/shaper.c')
-rw-r--r-- | accel-pppd/shaper/shaper.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c index 0ea2e373..8ae2630a 100644 --- a/accel-pppd/shaper/shaper.c +++ b/accel-pppd/shaper/shaper.c @@ -44,6 +44,11 @@ int conf_ifb_ifindex; int conf_up_limiter = LIM_POLICE; int conf_down_limiter = LIM_TBF; +int conf_leaf_qdisc; +int conf_lq_arg1; +int conf_lq_arg2; +int conf_lq_arg3; + static int temp_down_speed; static int temp_up_speed; @@ -895,6 +900,13 @@ static void load_config(void) conf_up_limiter = LIM_POLICE; } + opt = conf_get_opt("shaper", "leaf-qdisc"); + if (opt) + leaf_qdisc_parse(opt); + else + conf_leaf_qdisc = 0; + + opt = conf_get_opt("shaper", "verbose"); if (opt && atoi(opt) > 0) conf_verbose = 1; |