[ospfd] Bug #234. Fix nbr_self reinitialisation after down/up.gpg-tag-20060331-quagga_0_98_stable
commit747c65545223569e18e47ed706889e37bfd49a2c
authorPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 18:50:08 +0000 (30 18:50 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 18:50:08 +0000 (30 18:50 +0000)
tree9dd17133e8ed109bab2b215c18b17e6f6ad3dee1
parent753975c1a6683a5930c5b221e7e9683b13d03d47
[ospfd] Bug #234. Fix nbr_self reinitialisation after down/up.

2006-01-10 Len Sorensen <lennartsorensen@ruggedcom.com>

* (general) Bug #234, see also [quagga-dev 3902].
  Fix problem with nbr_self not being properly reinitialised
  when an interface comes up, after having been down.
  Some re-arrangement done by Paul Jakma, any bugs introduced
  on top of Len's suggested changes are his.
* ospf_neighbor.c: (ospf_nbr_add_self) centralise
  initialisation of nbr_self parameters here.
* ospf_interface.c: (ospf_if_new) deleting initialisation of
  parameters of nbr_self, just rely on call to
  ospf_nbr_add_self.
  (ospf_if_cleanup) ditto.
* ospfd.c: (ospf_network_run) ditto.

[backport of 1a643f88b238147dc2cfbe137d9feae7e3f3546e]
ospfd/ChangeLog
ospfd/ospf_interface.c
ospfd/ospf_neighbor.c
ospfd/ospfd.c