diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-26 16:39:41 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-26 16:39:41 +0300 |
commit | b8bf4001c5ae882153acc3a3632281c51662866c (patch) | |
tree | b4800210ab8b69be7017d944348806a93d931c79 /accel-pppd/shaper | |
parent | 4c8340c4abe04d896de8e0a190ec412d4ce4f30f (diff) | |
download | accel-ppp-b8bf4001c5ae882153acc3a3632281c51662866c.tar.gz accel-ppp-b8bf4001c5ae882153acc3a3632281c51662866c.zip |
shaper: install skbedit filter for all protocols
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r-- | accel-pppd/shaper/limiter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c index 0e754012..0a5eecc8 100644 --- a/accel-pppd/shaper/limiter.c +++ b/accel-pppd/shaper/limiter.c @@ -342,7 +342,7 @@ static int install_htb_ifb(struct rtnl_handle *rth, int ifindex, __u32 priority, req.t.tcm_handle = 1; req.t.tcm_parent = 0xffff0000; - req.t.tcm_info = TC_H_MAKE(100 << 16, ntohs(ETH_P_IP)); + req.t.tcm_info = TC_H_MAKE(100 << 16, ntohs(ETH_P_ALL)); addattr_l(&req.n, sizeof(req), TCA_KIND, "u32", 4); |