[Xorp-cvs] XORP cvs commit: xorp/ospf
Atanu Ghosh
atanu@icir.org
Sun, 11 Sep 2005 02:45:41 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: atanu@xorpc.icir.org 2005-09-11 02:45:41 UTC
XORP CVS repository
Modified files:
ospf TODO peer.cc peer.hh
Log message:
When an interface is taken down all the neighbours are sent a kill
neighbour event. If the router is the designated router for this
interface then the neighbour makes an upcall to get itself removed
from neighbour list in the Network-LSA.
Previously the determination of whether this router was the designated
router was made by checking the hello packet. Independent of the state
of the interface the neighbour could consider itself to be the
designated router. An attempt was being to remove the Network-LSA
twice. Which was causing the tinderbox failure and making it
impossible to take down an interface that was the designated router.
The methods for checking whether the interface is the designated
router or the backup designated router have been moved to the Peer
class and they now check the state of the interface not the contents
of the hello packet.
Revision Changes Path
1.48 +6 -4; commitid: 17ba943239a537ea6; xorp/ospf/TODO
1.146 +48 -18; commitid: 17ba943239a537ea6; xorp/ospf/peer.cc
1.94 +16 -1; commitid: 17ba943239a537ea6; xorp/ospf/peer.hh