summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private_stp.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge/br_private_stp.h')
-rw-r--r--net/bridge/br_private_stp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/bridge/br_private_stp.h b/net/bridge/br_private_stp.h
index 05ed9bc7e426..0c0fe36e7aa9 100644
--- a/net/bridge/br_private_stp.h
+++ b/net/bridge/br_private_stp.h
@@ -29,10 +29,9 @@
#define BR_MIN_PATH_COST 1
#define BR_MAX_PATH_COST 65535
-struct br_config_bpdu
-{
- unsigned topology_change:1;
- unsigned topology_change_ack:1;
+struct br_config_bpdu {
+ unsigned int topology_change:1;
+ unsigned int topology_change_ack:1;
bridge_id root;
int root_path_cost;
bridge_id bridge_id;
OpenPOWER on IntegriCloud