summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2019-09-02 17:06:57 +0200
committerEmanuele Di Pascale <emanuele@voltanet.io>2019-09-02 17:12:05 +0200
commit5991e935787d906fe5e55fbfe4834efa681026bd (patch)
tree94aced04da053b69ccb49d1c8bae1cc60d05bc74 /lib/compiler.h
parent90959768303e7712b97ef71d55bfae22ccfba02f (diff)
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>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions