From: Felix Fietkau Date: Wed, 9 Mar 2022 08:42:38 +0000 (+0100) Subject: interface: fix duplicated dns filter line X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bdfcb11847cee05a69e8d040a2e5d00a4bdfc16c;p=project%2Fqosify.git interface: fix duplicated dns filter line Signed-off-by: Felix Fietkau --- diff --git a/interface.c b/interface.c index 5e54f88..056c52f 100644 --- a/interface.c +++ b/interface.c @@ -286,11 +286,6 @@ cmd_add_ingress(struct qosify_iface *iface, bool eth) "flowid 1:1 action mirred egress redirect dev ifb-dns"); qosify_run_cmd(buf, false); - ofs = prepare_tc_cmd(buf, sizeof(buf), "filter", "add", iface->ifname, " ingress"); - APPEND(buf, ofs, " protocol ip prio 5 u32 match ip sport 53 0xffff " - "flowid 1:1 action mirred egress redirect dev ifb-dns"); - qosify_run_cmd(buf, false); - ofs = prepare_tc_cmd(buf, sizeof(buf), "filter", "add", iface->ifname, " ingress"); APPEND(buf, ofs, " protocol 802.1Q prio 6 u32 offset plus 4 match ip sport 53 0xffff " "flowid 1:1 action mirred egress redirect dev ifb-dns");