diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-02-19 17:37:21 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-02-19 18:34:45 +0100 |
commit | a46b50daecf8b8dcf86d5cbcbf19f720b55a7b37 (patch) | |
tree | 78bcc757642731812ad2245689d0dfd16b07c76a /isisd | |
parent | Merge pull request #5802 from ton31337/feature/aggregate-address_origin_override (diff) | |
download | frr-a46b50daecf8b8dcf86d5cbcbf19f720b55a7b37.tar.xz frr-a46b50daecf8b8dcf86d5cbcbf19f720b55a7b37.zip |
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>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_circuit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 8343f7d85..e4152a871 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; |