[ovs-dev] [PATCH 4/4] stp: Don't wait a hello-time before sending BPDU.

nickcooper-zhangtonghao nic at opencloud.tech
Tue Mar 7 13:11:30 UTC 2017


Signed-off-by: nickcooper-zhangtonghao <nic at opencloud.tech>
---
 lib/stp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stp.c b/lib/stp.c
index d90b400..d828c64 100644
--- a/lib/stp.c
+++ b/lib/stp.c
@@ -306,7 +306,7 @@ stp_create(const char *name, stp_identifier bridge_id,
 
     stp_stop_timer(&stp->tcn_timer);
     stp_stop_timer(&stp->topology_change_timer);
-    stp_start_timer(&stp->hello_timer, 0);
+    stp_start_timer(&stp->hello_timer, stp->hello_time);
 
     stp->send_bpdu = send_bpdu;
     stp->aux = aux;
-- 
1.8.3.1






More information about the dev mailing list