]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: add missing help about mode argument
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 3 May 2013 15:18:41 +0000 (08:18 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 3 May 2013 19:29:22 +0000 (12:29 -0700)
There is three possibilities: only IPv6, only IPv4 or both.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
ip/link_ip6tnl.c

index 294736481c3678ec618487b7d468e430ac975be9..f5b12454cf5f07503eb0157f18688ca3a548c339 100644 (file)
@@ -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");