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:
parent
8187b01273
commit
5cd64c979f
|
|
@ -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 " ] [ "
|
||||
|
|
|
|||
Loading…
Reference in New Issue