From b8bf4001c5ae882153acc3a3632281c51662866c Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Tue, 26 Dec 2017 16:39:41 +0300 Subject: shaper: install skbedit filter for all protocols --- accel-pppd/shaper/limiter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel-pppd/shaper/limiter.c b/accel-pppd/shaper/limiter.c index 0e75401..0a5eecc 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); -- cgit v1.2.3