diff mbox

[iproute2] iplink: add batadv interface type

Message ID 1366878799-20237-1-git-send-email-ordex@autistici.org
State Awaiting Upstream, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Antonio Quartulli April 25, 2013, 8:33 a.m. UTC
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 <ordex@autistici.org>
---
 ip/iplink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Hemminger April 25, 2013, 4:12 p.m. UTC | #1
On Thu, 25 Apr 2013 10:33:19 +0200
Antonio Quartulli <ordex@autistici.org> wrote:

> 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 <ordex@autistici.org>
> ---
>  ip/iplink.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ip/iplink.c b/ip/iplink.c
> index dc98019..2301cbc 100644
> --- a/ip/iplink.c
> +++ b/ip/iplink.c
> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/ip/iplink.c b/ip/iplink.c
index dc98019..2301cbc 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -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);
 }