diff options
author | Paul Jakma <paul.jakma@sun.com> | 2007-05-07 16:38:35 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2007-05-07 16:38:35 +0000 |
commit | 08d3d5b398ae81de7659509f159e814d1bbd4375 (patch) | |
tree | adba8d8c3499a5156d24e9b0a3b077f357553158 /ospfd/ChangeLog | |
parent | fb982c25aa771b7c7425a3c3cce0a2cda0a715de (diff) |
[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 'ospfd/ChangeLog')
-rw-r--r-- | ospfd/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index d329bfaf..153b086e 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,13 @@ +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. + 2007-04-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * ospfd.c: (ospf_network_match_iface) Comment out |