[ospfd] Bug #330 regression: failure to calculate routes through networks

2007-03-23 Paul Jakma <paul.jakma@sun.com>

	* ospf_spf.c: (ospf_nexthop_calculation) Fix silly regression
	  causing ospfd to fail to calculate paths past networks not
	  attached to root vertex, introduced with bug #330 fixes.
This commit is contained in:
Paul Jakma 2007-03-23 11:19:08 +00:00
parent b75ae99e1d
commit 85ef784e8a
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,9 @@
2007-03-23 Paul Jakma <paul.jakma@sun.com>
* ospf_spf.c: (various) Add more debug statements.
(ospf_nexthop_calculation) Fix silly regression causing ospfd
to fail to calculate paths past networks not attached to root
vertex, introduced with bug #330 fixes.
2007-03-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

View File

@ -677,7 +677,8 @@ ospf_nexthop_calculation (struct ospf_area *area, struct vertex *v,
}
}
}
return added;
if (added)
return added;
}
/* 16.1.1 para 4. If there is at least one intervening router in the