summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2020-02-19 17:37:21 +0100
committerEmanuele Di Pascale <emanuele@voltanet.io>2020-02-19 18:34:45 +0100
commita46b50daecf8b8dcf86d5cbcbf19f720b55a7b37 (patch)
tree78bcc757642731812ad2245689d0dfd16b07c76a
parent1a21da6b01ff50ac99eb6d54e6e1b2877ce5d5f8 (diff)
isisd: do not disable circuit on ifdown
when zebra detects that an interface is gone, notify the circuit but do not disable it - the interface is still configured until it isn't. Without this fix, removing the interface in the kernel and then removing the circuit from the configuration would cause an assertion in isis_csm.c:78 Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
-rw-r--r--isisd/isis_circuit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c
index 8343f7d85f..e4152a8712 100644
--- a/isisd/isis_circuit.c
+++ b/isisd/isis_circuit.c
@@ -1386,7 +1386,6 @@ int isis_if_delete_hook(struct interface *ifp)
if (ifp && ifp->info) {
circuit = ifp->info;
isis_csm_state_change(IF_DOWN_FROM_Z, circuit, circuit->area);
- isis_csm_state_change(ISIS_DISABLE, circuit, circuit->area);
}
return 0;