git: 88be0e11205e - main - bridge: fix STP roles and protos strings

Kristof Provost kp at FreeBSD.org
Mon Feb 1 14:27:23 UTC 2021


The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=88be0e11205e4a2dc77e29f7b4a2e82b8d7c9a5c

commit 88be0e11205e4a2dc77e29f7b4a2e82b8d7c9a5c
Author:     Jonah Caplan <jcaplan at blackberry.com>
AuthorDate: 2021-01-30 13:54:09 +0000
Commit:     Kristof Provost <kp at FreeBSD.org>
CommitDate: 2021-02-01 14:27:06 +0000

    bridge: fix STP roles and protos strings
    
    Add the missing commas that got lost in e5539fb618cc7.
    
    PR:             252532
    Reviewd by:     kp@, donner@, freqlabs@
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D28425
---
 sys/net/if_bridgevar.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/net/if_bridgevar.h b/sys/net/if_bridgevar.h
index fef252821be7..c12ee4598548 100644
--- a/sys/net/if_bridgevar.h
+++ b/sys/net/if_bridgevar.h
@@ -278,15 +278,15 @@ struct ifbpstpconf {
     "discarding"
 
 #define STP_PROTOS \
-    "stp"          \
-    "-"            \
+    "stp",         \
+    "-",           \
     "rstp"
 
 #define STP_ROLES \
-    "disabled"    \
-    "root"        \
-    "designated"  \
-    "alternate"   \
+    "disabled",   \
+    "root",       \
+    "designated", \
+    "alternate",  \
     "backup"
 
 #define PV2ID(pv, epri, eaddr)	do { \


More information about the dev-commits-src-main mailing list