diff mbox series

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

Message ID 20200903084925.124494-1-pbarker@konsulko.com
State Accepted
Delegated to: David Miller
Headers show
Series doc: net: dsa: Fix typo in config code sample | expand

Commit Message

Paul Barker Sept. 3, 2020, 8:49 a.m. UTC
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>
---
 Documentation/networking/dsa/configuration.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Fainelli Sept. 3, 2020, 2:21 p.m. UTC | #1
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 <pbarker@konsulko.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>

Ah yes, thanks!
David Miller Sept. 3, 2020, 7:04 p.m. UTC | #2
From: Paul Barker <pbarker@konsulko.com>
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 <pbarker@konsulko.com>

Applied, thank you.
diff mbox series

Patch

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