Patchwork [iproute2,1/3] ip/ip6tunnel: fix help for TCLASS

login
register
mail settings
Submitter Nicolas Dichtel
Date Nov. 14, 2012, 3:29 p.m.
Message ID <1352906966-12932-1-git-send-email-nicolas.dichtel@6wind.com>
Download mbox | patch
Permalink /patch/198943/
State Accepted
Delegated to: stephen hemminger
Headers show

Comments

Nicolas Dichtel - Nov. 14, 2012, 3:29 p.m.
Help is "[tclass TCLASS]", but only TOS was described.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 ip/ip6tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/ip/ip6tunnel.c b/ip/ip6tunnel.c
index c9720eb..b23377a 100644
--- a/ip/ip6tunnel.c
+++ b/ip/ip6tunnel.c
@@ -60,7 +60,7 @@  static void usage(void)
 		IPV6_DEFAULT_TNL_ENCAP_LIMIT);
 	fprintf(stderr, "       TTL       := 0..255 (default=%d)\n",
 		DEFAULT_TNL_HOP_LIMIT);
-	fprintf(stderr, "       TOS       := { 0x0..0xff | inherit }\n");
+	fprintf(stderr, "       TCLASS    := { 0x0..0xff | inherit }\n");
 	fprintf(stderr, "       FLOWLABEL := { 0x0..0xfffff | inherit }\n");
 	exit(-1);
 }