]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Self nbrs needs to be rebuilt when router ID changes.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Thu, 19 Nov 2009 14:27:30 +0000 (15:27 +0100)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:30 +0000 (15:33 +0000)
commit25a346ebeb8327be596da39709e97739c33c0bbd
treec67449984fadefe44875d8645de65030bce0708f
parentf0b0df1c330a2be955b8d069e4d0435eb2b60d95
ospfd: Self nbrs needs to be rebuilt when router ID changes.

Some self nbrs are identified by router_id, these needs
to be rebuilt instead of just resetting router ID.
Possibly one could optimize for !(virtual | ptop) links
by doing oi->nbr_self->router_id = router_id instead.

Router ID will change once after startup config has been
read and zebra reports router ID, unless router ID has
been configured in ospf.

(cherry picked from commit 94266fa822baf9b9c9e10ac03ccec8ccf3ce0c98)
ospfd/ospfd.c