doc: net: dsa: Fix typo in config code sample
authorPaul Barker <pbarker@konsulko.com>
Thu, 3 Sep 2020 08:49:25 +0000 (09:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 17:38:22 +0000 (10:38 -0700)
In the "single port" example code for configuring a DSA switch without
tagging support from userspace the command to bring up the "lan2" link
was typo'd.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/dsa/configuration.rst

index af029b3..11bd5e6 100644 (file)
@@ -180,7 +180,7 @@ The configuration can only be set up via VLAN tagging and bridge setup.
 
   # bring up the slave interfaces
   ip link set lan1 up
-  ip link set lan1 up
+  ip link set lan2 up
   ip link set lan3 up
 
   # create bridge