Skip to contentSkip to conversation

doc: net: dsa: Fix typo in config code sample

PATCH Applied Paul Barker 3 participants 3 messages Sep 3, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: net: dsa: Fix typo in config code sample

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.

---
 Documentation/networking/dsa/configuration.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/dsa/configuration.rst +1 -1
index af029b3ca2ab..11bd5e6108c0 100644
@@ -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
Signature · 1 line
2.28.0