mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
bridge: vni: Fix vni filter help strings
Add the missing 'vni' subcommand to the top level `bridge help`.
For `bridge vni { add | del } ...`, 'dev' is a mandatory argument.
For `bridge vni show`, 'dev' is an optional argument.
Fixes: 45cd32f9f7
("bridge: vxlan device vnifilter support")
Reviewed-by: Petr Machata <petrm@nvidia.com>
Tested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
aeb7ee2973
commit
58c8a08175
@ -36,7 +36,7 @@ static void usage(void)
|
|||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Usage: bridge [ OPTIONS ] OBJECT { COMMAND | help }\n"
|
"Usage: bridge [ OPTIONS ] OBJECT { COMMAND | help }\n"
|
||||||
" bridge [ -force ] -batch filename\n"
|
" bridge [ -force ] -batch filename\n"
|
||||||
"where OBJECT := { link | fdb | mdb | vlan | monitor }\n"
|
"where OBJECT := { link | fdb | mdb | vlan | vni | monitor }\n"
|
||||||
" OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] |\n"
|
" OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] |\n"
|
||||||
" -o[neline] | -t[imestamp] | -n[etns] name |\n"
|
" -o[neline] | -t[imestamp] | -n[etns] name |\n"
|
||||||
" -c[ompressvlans] -color -p[retty] -j[son] }\n");
|
" -c[ompressvlans] -color -p[retty] -j[son] }\n");
|
||||||
|
@ -33,8 +33,8 @@ static void usage(void)
|
|||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Usage: bridge vni { add | del } vni VNI\n"
|
"Usage: bridge vni { add | del } vni VNI\n"
|
||||||
" [ { group | remote } IP_ADDRESS ]\n"
|
" [ { group | remote } IP_ADDRESS ]\n"
|
||||||
" [ dev DEV ]\n"
|
" dev DEV\n"
|
||||||
" bridge vni { show }\n"
|
" bridge vni { show } [ dev DEV ]\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Where: VNI := 0-16777215\n"
|
"Where: VNI := 0-16777215\n"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user