From: Ben Pfaff Date: Tue, 16 Sep 2008 23:06:43 +0000 (-0700) Subject: Change STP parameters to the minimum values allowed by 802.1D. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=331f82fd49245df0040f47313beadfa3791a6794;p=sliver-openvswitch.git Change STP parameters to the minimum values allowed by 802.1D. This makes the secchan start up much faster. --- 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;