Skip to contentSkip to conversation

iplink: add batadv interface type

PATCH In review Antonio Quartulli 2 participants 2 messages Apr 25, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 ip/iplink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/iplink.c +1 -1
index dc98019..2301cbc 100644
@@ -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
#1 lore raw
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.

---
 ip/iplink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/iplink.c +0 -0
index dc98019..2301cbc 100644

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.