[Xorp-cvs] XORP cvs commit: xorp/ospf
Atanu Ghosh
atanu@icir.org
Sat, 25 Feb 2006 03:42:50 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: atanu@xorpc.icir.org 2006-02-25 03:42:50 UTC
XORP CVS repository
Modified files:
ospf peer.cc peer.hh
Log message:
RFC 2328 Section 9.4 Electing the Designated Router (3):
Requires that if no router has declared itself the designated router
that the newly elected backup designated router should be used.
If no router had declared itself the designated router the router was
incorrectly electing itself.
If the router was started and a DR and BDR already existed if the
hello packet from the DR was seen first followed by the BDR a
backupseen event would be generated and the election would work
correctly.
If the router was started and a DR and BDR already existed if the
hello packet from the BDR was seen first a backupseen event would be
generated and the election would incorrectly elect itself as the DR.
Revision Changes Path
1.223 +7 -12; commitid: f46643ffd2397ea6; xorp/ospf/peer.cc
1.119 +3 -2; commitid: f46643ffd2397ea6; xorp/ospf/peer.hh