[ovs-dev] [PATCH 3/4] stp: Set BPDU max age exactly.
nickcooper-zhangtonghao
nic at opencloud.tech
Tue Mar 7 13:11:29 UTC 2017
Signed-off-by: nickcooper-zhangtonghao <nic at opencloud.tech>
---
vswitchd/bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 2e10013..961ebe6 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -1538,7 +1538,7 @@ bridge_configure_stp(struct bridge *br, bool enable_stp)
STP_DEFAULT_HELLO_TIME);
br_s.max_age = smap_get_ullong(&br->cfg->other_config, "stp-max-age",
- STP_DEFAULT_HELLO_TIME / 1000) * 1000;
+ STP_DEFAULT_MAX_AGE / 1000) * 1000;
br_s.fwd_delay = smap_get_ullong(&br->cfg->other_config,
"stp-forward-delay",
STP_DEFAULT_FWD_DELAY / 1000) * 1000;
--
1.8.3.1
More information about the dev
mailing list