]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospfd.c
ospfd: allow interfaces to come up in rare situation
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 8 Jul 2020 01:48:34 +0000 (21:48 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 8 Jul 2020 14:56:18 +0000 (10:56 -0400)
commit7e0274f822778a946479713c19a9527ccd8b2a4d
tree5d285018e568cc022e442cfa66773ff11901c7a5
parentc4c333065294bdb3bcd17a1c2d302cee6798d9bb
ospfd: allow interfaces to come up in rare situation

On startup of both zebra and ospfd.  If ospfd has not
received a valid router-id *but* has received interface
data, interfaces will not be turned on in the state
machine.  When ospf finally receives a valid router-id
it would never actually kick the state machine into
action for those interfaces it has been configured for.

Modify ospf on router id changes, *if* the old
router id was INADDR_ANY *and* the interface is
operative *and* the oi->state is ISM_Down, give
it the old kick in the patooeys

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospfd.c