summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-09-03 09:49:25 +0100
committerDavid S. Miller <davem@davemloft.net>2020-09-03 10:38:22 -0700
commitaf0ae997a3a7ef7e9d0b1358a0983e088084f086 (patch)
tree7f98b7cc0e720f017525d028aadaa775692d58ad
parent8b4a11c67da538504d60ae917ffe5254f59b1248 (diff)
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 <pbarker@konsulko.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/networking/dsa/configuration.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/dsa/configuration.rst b/Documentation/networking/dsa/configuration.rst
index af029b3ca2ab..11bd5e6108c0 100644
--- a/Documentation/networking/dsa/configuration.rst
+++ b/Documentation/networking/dsa/configuration.rst
@@ -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