[PATCH iproute2] ip: add missing help about mode argument

DORMANTno replies

From: Nicolas Dichtel <hidden>
Date: 2013-05-03 15:18:19
Subsystem: the rest · Maintainer: Linus Torvalds

There is three possibilities: only IPv6, only IPv4 or both.

Signed-off-by: Nicolas Dichtel <redacted>
---
 ip/link_ip6tnl.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/ip/link_ip6tnl.c b/ip/link_ip6tnl.c
index 2947364..f5b1245 100644
--- a/ip/link_ip6tnl.c
+++ b/ip/link_ip6tnl.c
@@ -33,6 +33,7 @@ static void usage(void) __attribute__((noreturn));
 static void usage(void)
 {
 	fprintf(stderr, "Usage: ip link { add | set | change | replace | del } NAME\n");
+	fprintf(stderr, "          [ mode { ip6ip6 | ipip6 | any } ]\n");
 	fprintf(stderr, "          type ip6tnl [ remote ADDR ] [ local ADDR ]\n");
 	fprintf(stderr, "          [ dev PHYS_DEV ] [ encaplimit ELIM ]\n");
 	fprintf(stderr ,"          [ hoplimit HLIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ]\n");
-- 
1.8.2.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help