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 <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Matteo Croce 2017-06-30 18:21:47 +02:00 committed by David S. Miller
parent 889ce937c9
commit 75674c4cbb
1 changed files with 2 additions and 2 deletions

View File

@ -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 There are no module parameters for this driver and it can be configured
using IProute2/ip utility. 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: 4. Operating modes: