From 331f82fd49245df0040f47313beadfa3791a6794 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 16 Sep 2008 16:06:43 -0700 Subject: [PATCH] Change STP parameters to the minimum values allowed by 802.1D. This makes the secchan start up much faster. --- lib/stp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/stp.c b/lib/stp.c index 6f7f09a54..4fd2f466f 100644 --- a/lib/stp.c +++ b/lib/stp.c @@ -230,9 +230,9 @@ stp_create(const char *name, stp_identifier bridge_id, if (!(stp->bridge_id >> 48)) { stp->bridge_id |= UINT64_C(32768) << 48; } - stp->max_age = SECONDS_TO_TIMER(20); - stp->hello_time = SECONDS_TO_TIMER(2); - stp->forward_delay = SECONDS_TO_TIMER(15); + stp->max_age = SECONDS_TO_TIMER(6); + stp->hello_time = SECONDS_TO_TIMER(1); + stp->forward_delay = SECONDS_TO_TIMER(4); stp->bridge_max_age = stp->max_age; stp->bridge_hello_time = stp->hello_time; stp->bridge_forward_delay = stp->forward_delay; -- 2.45.2