]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
tc-codel: Update usage text
authorVijay Subramanian <subramanian.vijay@gmail.com>
Thu, 24 May 2012 18:48:07 +0000 (11:48 -0700)
committerStephen Hemminger <shemminger@vyatta.com>
Thu, 24 May 2012 22:02:05 +0000 (15:02 -0700)
codel can take 'noecn' as an option. This also makes it consistent with the
manpage.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
tc/q_codel.c

index 826285a091f22116ae1b094dd76ee1e0b4f604f2..dc4b3f6c5e6b209d4f1607c0adcc264af49f0238 100644 (file)
@@ -54,7 +54,7 @@
 static void explain(void)
 {
        fprintf(stderr, "Usage: ... codel [ limit PACKETS ] [ target TIME]\n");
-       fprintf(stderr, "                 [ interval TIME ] [ ecn ]\n");
+       fprintf(stderr, "                 [ interval TIME ] [ ecn | noecn ]\n");
 }
 
 static int codel_parse_opt(struct qdisc_util *qu, int argc, char **argv,