[Xorp-cvs] XORP cvs commit: xorp/ospf
Atanu Ghosh
atanu@icir.org
Sun, 30 Oct 2005 09:25:47 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: atanu@xorpc.icir.org 2005-10-30 09:25:47 UTC
XORP CVS repository
Modified files:
ospf area_router.cc test_routing.cc
Log message:
When the router was the designated router and a neighbouring router on
a broadcast interface was a border router or an AS boundary router a
host route to the router itself was being installed.
R1 <--> N1 <--> R2
Router R1 generates a Network-LSA (N1) that is the next vertex towards
R2. the Vertex N1 has as its nexthop R1. A route to R2 was therefore
returning R1 as the nexthop.
When the router is a designated router on an interface put in direct
edges to each neighbour.
Allow host routes for router vertexs.
When processing AS-External-LSAs use the advertising router field to
perform the lookup in the routing table not the network. The
forwarding entry in the LSA is now being honoured.
Add a regression test routing4() that verifies that the correct routes
are introduced.
Bugzilla URL: http://www.xorp.org/bugzilla/show_bug.cgi?id=295
Bug found by: Patrick Marc Preuss
Revision Changes Path
1.132 +134 -20; commitid: 8f3f436491997ea6; xorp/ospf/area_router.cc
1.8 +127 -2; commitid: 8f3f436491997ea6; xorp/ospf/test_routing.cc