]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
vxlan: fix help and man text
authorThomas Faivre <thomas.faivre@6wind.com>
Thu, 14 Jan 2016 17:10:19 +0000 (18:10 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 18 Jan 2016 19:44:22 +0000 (11:44 -0800)
Options 'group' and 'remote' cannot take 'any' as value but 'local' can.

Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
ip/iplink_vxlan.c
man/man8/ip-link.8.in

index aa4d5198d78d16bdc35583f479e85801752a9d7f..ede8482439d5e9ed45944b7b711e2c1f30ca0280 100644 (file)
@@ -23,7 +23,7 @@
 
 static void print_explain(FILE *f)
 {
-       fprintf(f, "Usage: ... vxlan id VNI [ { group | remote } ADDR ] [ local ADDR ]\n");
+       fprintf(f, "Usage: ... vxlan id VNI [ { group | remote } IP_ADDRESS ] [ local ADDR ]\n");
        fprintf(f, "                 [ ttl TTL ] [ tos TOS ] [ dev PHYS_DEV ]\n");
        fprintf(f, "                 [ dstport PORT ] [ srcport MIN MAX ]\n");
        fprintf(f, "                 [ [no]learning ] [ [no]proxy ] [ [no]rsc ]\n");
index 189a8f15fa03f6d4bd3a3209302252d88ca54bba..364049643a4c805054be9d01a6548f67f2edf2e6 100644 (file)
@@ -391,7 +391,8 @@ the following additional arguments are supported:
 .RB " ] [ { " group " | " remote " } "
 .I IPADDR
 .R " ] [ "
-.BI local " IPADDR "
+.B local
+.RI "{ "IPADDR " | "any " } "
 .R " ] [ "
 .BI ttl " TTL "
 .R " ] [ "