iplink: add batadv interface type
Subsystems (2)
PATCH 1/1 iplink: add batadv interface type
batadv is another virtual interface type that can be created via ip link. Add its name to the help screen.
Signed-off-by Antonio Quartulli <[email protected]>
--- ip/iplink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ip/iplink.c +1 -1
@@ -84,7 +84,7 @@ void iplink_usage(void)if (iplink_have_newlink ()) {fprintf (stderr,"\n" );fprintf (stderr,"TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can |\n" ); -fprintf (stderr," bridge | ipoib | ip6tnl | ipip | sit | vxlan }\n" ); +fprintf (stderr," bridge | ipoib | ip6tnl | ipip | sit | vxlan | batadv }\n" ); }exit (-1 ); }
Signature · 1 line
1.8.1.5
Quoted 13 lines · On Thu, 25 Apr 2013 10:33:19 +0200 Antonio Quartulli <[email protected]>…
batadv is another virtual interface type that can be created via ip link. Add its name to the help screen.
Signed-off-by Antonio Quartulli <[email protected]>--- ip/iplink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)ip/iplink.c +0
-0
ip/iplink.c void iplink_usage(void) · line 90
Quoted 8 lines
ip/iplink.c +1
-1@@ -84,7 +84,7 @@ void iplink_usage(void)if (iplink_have_newlink ()) {fprintf (stderr,"\n" );fprintf (stderr,"TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can |\n" ); -fprintf (stderr," bridge | ipoib | ip6tnl | ipip | sit | vxlan }\n" ); +fprintf (stderr," bridge | ipoib | ip6tnl | ipip | sit | vxlan | batadv }\n" ); }exit (-1 ); }
First, this only works on net-next (not upstream), so not applying to current version iproute.