[PATCH] ip: add the type 'vxlan' in the output of "ip link help"

Subsystems: the rest

STALE4990d

2 messages, 2 authors, 2012-12-17 · open the first message on its own page

[PATCH] ip: add the type 'vxlan' in the output of "ip link help"

From: <hidden>
Date: 2012-12-15 16:21:19

From: Zhi Yong Wu <redacted>

  The new type 'vxlan' is added in the output of "ip link help"

Signed-off-by: Zhi Yong Wu <redacted>
---
 ip/iplink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ip/iplink.c b/ip/iplink.c
index d73c705..5ff8f85 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 }\n");
+		fprintf(stderr, "          bridge | ipoib | ip6tnl | ipip | sit | vxlan }\n");
 	}
 	exit(-1);
 }
-- 
1.7.2.5

Re: [PATCH] ip: add the type 'vxlan' in the output of "ip link help"

From: Stephen Hemminger <hidden>
Date: 2012-12-17 16:17:23

On Sun, 16 Dec 2012 00:21:08 +0800
zwu.kernel@gmail.com wrote:
quoted hunk
From: Zhi Yong Wu <redacted>

  The new type 'vxlan' is added in the output of "ip link help"

Signed-off-by: Zhi Yong Wu <redacted>
---
 ip/iplink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ip/iplink.c b/ip/iplink.c
index d73c705..5ff8f85 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 }\n");
+		fprintf(stderr, "          bridge | ipoib | ip6tnl | ipip | sit | vxlan }\n");
 	}
 	exit(-1);
 }
Applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help