From: Andrea Claudi Date: Tue, 21 Jun 2022 16:59:06 +0000 (+0200) Subject: man: tc-ct.8: fix example X-Git-Tag: v5.19.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed243312e4068442427ad3ba9e13f70196657f1a;p=thirdparty%2Fiproute2.git man: tc-ct.8: fix example tc-ct manpage provides a wrong command to add an ingress qdisc to an interface: $ tc qdisc add dev eth0 handle ingress Error: argument "ingress" is wrong: invalid qdisc ID Fix it removing the useless "handle" keyword. Fixes: 924c43778a84 ("man: tc-ct.8: Add manual page for ct tc action") Signed-off-by: Andrea Claudi Signed-off-by: Stephen Hemminger --- diff --git a/man/man8/tc-ct.8 b/man/man8/tc-ct.8 index 709e62a99..2fb81ca29 100644 --- a/man/man8/tc-ct.8 +++ b/man/man8/tc-ct.8 @@ -74,8 +74,8 @@ Example showing natted firewall in conntrack zone 2, and conntrack mark usage: #Add ingress qdisc on eth0 and eth1 interfaces .nf -$ tc qdisc add dev eth0 handle ingress -$ tc qdisc add dev eth1 handle ingress +$ tc qdisc add dev eth0 ingress +$ tc qdisc add dev eth1 ingress #Setup filters on eth0, allowing opening new connections in zone 2, and doing src nat + mark for each new connection $ tc filter add dev eth0 ingress prio 1 chain 0 proto ip flower ip_proto tcp ct_state -trk \\