diff mbox series

[iproute2] man: tc-ct.8: fix example

Message ID 5dce1b939c42a170fdd7697ee8e2699a7d5f7b24.1655830634.git.aclaudi@redhat.com (mailing list archive)
State Accepted
Delegated to: Stephen Hemminger
Headers show
Series [iproute2] man: tc-ct.8: fix example | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Andrea Claudi June 21, 2022, 4:59 p.m. UTC
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 <aclaudi@redhat.com>
---
 man/man8/tc-ct.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/man/man8/tc-ct.8 b/man/man8/tc-ct.8
index 709e62a9..2fb81ca2 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 \\