diff options
author | Matteo Croce <mcroce@redhat.com> | 2017-06-30 18:21:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-03 02:08:34 -0700 |
commit | 75674c4cbb03a8b6ed7ef1f72b9e9aecc0bfd9dc (patch) | |
tree | a51e6addc8fe9c1e898844fcef1a2765b4d797df /Documentation | |
parent | 889ce937c98f1f969137a8a2ee78627c1537d4b3 (diff) | |
download | linux-75674c4cbb03a8b6ed7ef1f72b9e9aecc0bfd9dc.tar.bz2 |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/ipvlan.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/ipvlan.txt b/Documentation/networking/ipvlan.txt index 24196cef7c91..1fe42a874aae 100644 --- a/Documentation/networking/ipvlan.txt +++ b/Documentation/networking/ipvlan.txt @@ -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: |