[PATCH] doc: net: dsa: Fix typo in config code sample

Subsystems: documentation, networking [general], the rest

STALE2158d

3 messages, 3 authors, 2020-09-03 · open the first message on its own page

[PATCH] doc: net: dsa: Fix typo in config code sample

From: Paul Barker <hidden>
Date: 2020-09-03 08:50:12

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 <redacted>
---
 Documentation/networking/dsa/configuration.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-- 
2.28.0

Re: [PATCH] doc: net: dsa: Fix typo in config code sample

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-09-03 14:48:54


On 9/3/2020 1:49 AM, Paul Barker wrote:
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 <redacted>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>

Ah yes, thanks!
-- 
Florian

Re: [PATCH] doc: net: dsa: Fix typo in config code sample

From: David Miller <davem@davemloft.net>
Date: 2020-09-03 19:05:08

From: Paul Barker <redacted>
Date: Thu,  3 Sep 2020 09:49:25 +0100
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 <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help