Skip to content

Commit af0ae99

Browse files
pbrkrdavem330
authored andcommitted
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. Signed-off-by: Paul Barker <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8b4a11c commit af0ae99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/networking/dsa/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ The configuration can only be set up via VLAN tagging and bridge setup.
180180
181181
# bring up the slave interfaces
182182
ip link set lan1 up
183-
ip link set lan1 up
183+
ip link set lan2 up
184184
ip link set lan3 up
185185
186186
# create bridge

0 commit comments

Comments
 (0)