Patchwork vxlan: fix command usage in its doc

login
register
mail settings
Submitter Zhiyong Wu
Date Nov. 22, 2012, 10:10 a.m.
Message ID <1353579001-31052-1-git-send-email-zwu.kernel@gmail.com>
Download mbox | patch
Permalink /patch/201193/
State Accepted
Delegated to: David Miller
Headers show

Comments

Zhiyong Wu - Nov. 22, 2012, 10:10 a.m.
From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>

  Some commands don't work in its example doc. The patch will fix it.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
 Documentation/networking/vxlan.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
David Miller - Nov. 23, 2012, 7:04 p.m.
From: zwu.kernel@gmail.com
Date: Thu, 22 Nov 2012 18:10:01 +0800

> From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
> 
>   Some commands don't work in its example doc. The patch will fix it.
> 
> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>

Applied, thanks.
--
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

Patch

diff --git a/Documentation/networking/vxlan.txt b/Documentation/networking/vxlan.txt
index 5b34b76..6d99351 100644
--- a/Documentation/networking/vxlan.txt
+++ b/Documentation/networking/vxlan.txt
@@ -32,7 +32,7 @@  no entry is in the forwarding table.
   # ip link delete vxlan0
 
 3. Show vxlan info
-  # ip -d show vxlan0
+  # ip -d link show vxlan0
 
 It is possible to create, destroy and display the vxlan
 forwarding table using the new bridge command.
@@ -41,7 +41,7 @@  forwarding table using the new bridge command.
   # bridge fdb add to 00:17:42:8a:b4:05 dst 192.19.0.2 dev vxlan0
 
 2. Delete forwarding table entry
-  # bridge fdb delete 00:17:42:8a:b4:05
+  # bridge fdb delete 00:17:42:8a:b4:05 dev vxlan0
 
 3. Show forwarding table
   # bridge fdb show dev vxlan0