]> Git Repo - linux.git/commitdiff
doc: net: dsa: Fix typo in config code sample
authorPaul Barker <[email protected]>
Thu, 3 Sep 2020 08:49:25 +0000 (09:49 +0100)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Documentation/networking/dsa/configuration.rst

index af029b3ca2abe58ba54bff2fdbc7363248fa6a36..11bd5e6108c0049ce307b8d7f843c98dfe91571d 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
This page took 0.057717 seconds and 4 git commands to generate.