vxlan: fix help and man text

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>
This commit is contained in:
Thomas Faivre 2016-01-14 18:10:19 +01:00 committed by Stephen Hemminger
parent 8187b01273
commit 5cd64c979f
2 changed files with 3 additions and 2 deletions

View 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");

View 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 " ] [ "