]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix northbound circuit deletion
authorEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 2 Sep 2019 15:06:57 +0000 (17:06 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 2 Sep 2019 15:12:05 +0000 (17:12 +0200)
commit5991e935787d906fe5e55fbfe4834efa681026bd
tree94aced04da053b69ccb49d1c8bae1cc60d05bc74
parent90959768303e7712b97ef71d55bfae22ccfba02f
isisd: fix northbound circuit deletion

circuit deletion was being enforced by sending a fake IF_DOWN_FROM_Z
event for the circuit interface. This created a problem when the
circuit was enabled again, since isisd internal state machine was
expecting to see an IF_UP_FROM_Z that never came, as the interface
had not actually gone down.

As a consequence, disabling + re-enabling isis on an interface or
area would leave interfaces in a CONFIG state, and adjacencies were
not restored. Fix this by following the state machine and simply
disabling circuits rather than attempting to delete them forcefully.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isis_northbound.c