diff options
author | paul <paul> | 2007-05-07 16:38:35 +0000 |
---|---|---|
committer | paul <paul> | 2007-05-07 16:38:35 +0000 |
commit | 5d6e58121410c84b99e4363f1f158efa6e011ce2 (patch) | |
tree | 212ff1c8d9a898f864d5500725aff1b1117a097d /zebra/interface.c | |
parent | d8e8016594f87bbdd3bbb1737a95c39c6e951ede (diff) | |
download | quagga-5d6e58121410c84b99e4363f1f158efa6e011ce2.tar.bz2 quagga-5d6e58121410c84b99e4363f1f158efa6e011ce2.tar.xz |
[ospfd] Bug #330 regression: Fix ospf_spf_add_parent assert
2007-05-07 Paul Jakma <paul.jakma@sun.com>
* ospf_spf.c: (ospf_vertex_new) Dont init vertices to infinity,
just let 0 be a special case.
(ospf_spf_add_parent) 0 distance candidate vertex is special,
cost still to be initialised - asserting that new distance
is <= existing only makes sense where w already has a cost.
(ospf_spf_next) Infinite cost links should not be followed,
bar those of the root.
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions