[Xorp-cvs] XORP cvs commit: xorp/rip
Pavlin Radoslavov
pavlin@icir.org
Sat, 21 Jan 2006 05:19:35 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2006-01-21 05:19:35 UTC
XORP CVS repository
Modified files:
rip route_db.cc
Log message:
If the (same cost) existing route is showing signs of timing out,
it may be better to switch to an equally-good alternative route
immediately, rather than waiting for the timeout to happen.
The heuristic is: if the route is at least halfway to the expiration
point, switch to the new route (see RFC 2453 Section 3.9.2 and
RFC 2080 Section 2.4.2).
This fixes bugzilla entry #205
Bugzilla URL: http://www.xorp.org/bugzilla/show_bug.cgi?id=205
Revision Changes Path
1.26 +38 -2; commitid: ea3043d1c34c7ea6; xorp/rip/route_db.cc