summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-11-05 19:42:37 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-11-05 19:42:37 +0300
commit22e13bac6488cfbb939fc1f54133f966a0cc1e62 (patch)
tree3672ed30ee49c32d54b8c8f4bcccfc62ac63bdc8 /accel-pppd/shaper
parentd856a2895ab85fedb2886d9ed0deb173201e34fa (diff)
downloadaccel-ppp-22e13bac6488cfbb939fc1f54133f966a0cc1e62.tar.gz
accel-ppp-22e13bac6488cfbb939fc1f54133f966a0cc1e62.zip
shaper: set filter priority 100 for ifb
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r--accel-pppd/shaper/limiter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c
index a7ac49f0..18b11a48 100644
--- a/accel-pppd/shaper/limiter.c
+++ b/accel-pppd/shaper/limiter.c
@@ -529,7 +529,7 @@ int init_ifb(const char *name)
req.t.tcm_ifindex = conf_ifb_ifindex;
req.t.tcm_handle = 1;
req.t.tcm_parent = 0x00010000;
- req.t.tcm_info = TC_H_MAKE(1 << 16, ntohs(ETH_P_IP));
+ req.t.tcm_info = TC_H_MAKE(100 << 16, ntohs(ETH_P_IP));
addattr_l(&req.n, sizeof(req), TCA_KIND, "flow", 5);