Skip to contentSkip to conversation

Documentation: fix wrong example command

PATCH Applied Matteo Croce 2 participants 2 messages Jun 30, 2017 – Jul 3, 2017

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

PATCH v2 1/1 Documentation: fix wrong example command

In the IPVLAN documentation there is an example command line where the master and slave interface names are inverted.
Fix the command line and also add the optional `name' keyword to better describe what the command is doing.

v2: added commit message

---
 Documentation/networking/ipvlan.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/ipvlan.txt +2 -2
index 24196ce..1fe42a8 100644
@@ -22,9 +22,9 @@ The driver can be built into the kernel (CONFIG_IPVLAN=y) or as a module
 	There are no module parameters for this driver and it can be configured
 using IProute2/ip utility.
 
-	ip link add link <master-dev> <slave-dev> type ipvlan mode { l2 | l3 | l3s }
+	ip link add link <master-dev> name <slave-dev> type ipvlan mode { l2 | l3 | l3s }
 
-	e.g. ip link add link ipvl0 eth0 type ipvlan mode l2
+	e.g. ip link add link eth0 name ipvl0 type ipvlan mode l2
 
 
 4. Operating modes:
Signature · 1 line
2.9.4
maintainer Applied
#1 lore raw

From: Matteo Croce <[email protected]>
Date: Fri, 30 Jun 2017 18:21:47 +0200

Quoted 8 lines

In the IPVLAN documentation there is an example command line where the master and slave interface names are inverted.
Fix the command line and also add the optional `name' keyword to better describe what the command is doing.

v2: added commit message

Applied, thank you.