]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: pedit: document branch control in help output
authorPhil Sutter <phil@nwl.cc>
Fri, 4 Mar 2016 11:52:37 +0000 (12:52 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 4 Mar 2016 23:27:52 +0000 (15:27 -0800)
This seems to have been a hidden feature, though it's very useful and
necessary at least when combining multiple pedit actions.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tc/m_pedit.c

index 4fdd189d7d9c6c01c9768249adccb35d3f9b66f6..86eb0ca3fbb38a4bd421c120efbe6fc12ac3cfb8 100644 (file)
@@ -35,7 +35,7 @@ static int pedit_debug;
 static void
 explain(void)
 {
-       fprintf(stderr, "Usage: ... pedit munge <MUNGE>\n");
+       fprintf(stderr, "Usage: ... pedit munge <MUNGE> [<BRANCH>]\n");
        fprintf(stderr,
                "Where: MUNGE := <RAW>|<LAYERED>\n"
                "\t<RAW>:= <OFFSETC>[ATC]<CMD>\n "
@@ -47,6 +47,7 @@ explain(void)
                "\t\tCMD:= clear | invert | set <setval>| retain\n "
                "\t<LAYERED>:= ip <ipdata> | ip6 <ip6data> \n "
                " \t\t| udp <udpdata> | tcp <tcpdata> | icmp <icmpdata> \n"
+               "\t<BRANCH>:= reclassify | pipe | drop | continue | pass\n"
                "For Example usage look at the examples directory\n");
 
 }