Skip to content

Commit 75674c4

Browse files
teknoraverdavem330
authored andcommitted
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 Signed-off-by: Matteo Croce <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 889ce93 commit 75674c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/networking/ipvlan.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ The driver can be built into the kernel (CONFIG_IPVLAN=y) or as a module
2222
There are no module parameters for this driver and it can be configured
2323
using IProute2/ip utility.
2424

25-
ip link add link <master-dev> <slave-dev> type ipvlan mode { l2 | l3 | l3s }
25+
ip link add link <master-dev> name <slave-dev> type ipvlan mode { l2 | l3 | l3s }
2626

27-
e.g. ip link add link ipvl0 eth0 type ipvlan mode l2
27+
e.g. ip link add link eth0 name ipvl0 type ipvlan mode l2
2828

2929

3030
4. Operating modes:

0 commit comments

Comments
 (0)