Commit 5cd64c97 authored by Thomas Faivre's avatar Thomas Faivre Committed by Stephen Hemminger

vxlan: fix help and man text

Options 'group' and 'remote' cannot take 'any' as value but 'local' can.
Signed-off-by: default avatarThomas Faivre <thomas.faivre@6wind.com>
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
parent 8187b012
......@@ -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");
......
......@@ -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 " ] [ "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment