From a846b3519b004f95d2b3ab0aabd756f27f8c881d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 23 Sep 2008 09:51:00 -0700 Subject: [PATCH] stp: Increase hello time to 2 seconds. An STP advertisement is sent after every expiry of the hello timer, so this reduces STP advertisements to once every 2 seconds. Once a second seemed like too often. Suggested by Justin. --- lib/stp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stp.c b/lib/stp.c index 4fd2f466..8b50584c 100644 --- a/lib/stp.c +++ b/lib/stp.c @@ -231,7 +231,7 @@ stp_create(const char *name, stp_identifier bridge_id, stp->bridge_id |= UINT64_C(32768) << 48; } stp->max_age = SECONDS_TO_TIMER(6); - stp->hello_time = SECONDS_TO_TIMER(1); + stp->hello_time = SECONDS_TO_TIMER(2); stp->forward_delay = SECONDS_TO_TIMER(4); stp->bridge_max_age = stp->max_age; stp->bridge_hello_time = stp->hello_time; -- 2.30.2