erspan: add erspan usage description
Subsystems (2)
PATCH 1/1 erspan: add erspan usage description
The patch adds erspan usage description, so 'ip link help erspan' and 'ip link help ip6erspan' shows the options.
Signed-off-by William Tu <[email protected]>
--- ip/link_gre.c | 4 ++++ ip/link_gre6.c | 4 ++++ 2 files changed, 8 insertions(+)
ip/link_gre.c +4 -0
@@ -44,7 +44,11 @@ static void print_usage(FILE *f)" [ [no]encap-csum6 ]\n" " [ [no]encap-remcsum ]\n" " [ fwmark MARK ]\n" +" [ erspan_ver version ]\n" " [ erspan IDX ]\n" +" [ erspan_dir { ingress | egress } ]\n" +" [ erspan_hwid hwid ]\n" +" [ external ]\n" "\n" "Where: ADDR := { IP_ADDRESS | any }\n" " TOS := { NUMBER | inherit }\n"
ip/link_gre6.c +4 -0
@@ -52,7 +52,11 @@ static void print_usage(FILE *f)" [ [no]encap-csum ]\n" " [ [no]encap-csum6 ]\n" " [ [no]encap-remcsum ]\n" +" [ erspan_ver version ]\n" " [ erspan IDX ]\n" +" [ erspan_dir { ingress | egress } ]\n" +" [ erspan_hwid hwid ]\n" +" [ external ]\n" "\n" "Where: ADDR := IPV6_ADDRESS\n" " TTL := { 0..255 } (default=%d)\n"
Signature · 1 line
2.7.4
David Ahern
AppliedQuoted 8 lines · William Tu
The patch adds erspan usage description, so 'ip link help erspan' and 'ip link help ip6erspan' shows the options.
Signed-off-by William Tu <[email protected]>--- ip/link_gre.c | 4 ++++ ip/link_gre6.c | 4 ++++ 2 files changed, 8 insertions(+)
Applied to net-next. Thanks, William.