summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-07-10 20:41:02 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-07-10 20:41:02 +0200
commit2ba9ccf73506442d748aa66a8ed78cd2ea77c6cc (patch)
treed5a389cd70fc3a80b413eeed9ab8698e5f822dd0 /isisd
parentRevert "topotests: isis-tilfa add a switchover test after linkdown" (diff)
downloadfrr-2ba9ccf73506442d748aa66a8ed78cd2ea77c6cc.tar.xz
frr-2ba9ccf73506442d748aa66a8ed78cd2ea77c6cc.zip
Revert "isisd: avoid fast-reroute from running twice on a down interface event"
This reverts commit d526476184999275c318b13f92ae6b38a0250052.
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_circuit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c
index 26e1de20f..cfa872c11 100644
--- a/isisd/isis_circuit.c
+++ b/isisd/isis_circuit.c
@@ -1631,8 +1631,7 @@ static int isis_ifp_down(struct interface *ifp)
afi_t afi;
struct isis_circuit *circuit = ifp->info;
- if (circuit &&
- !CHECK_FLAG(circuit->flags, ISIS_CIRCUIT_IF_DOWN_FROM_Z)) {
+ if (circuit) {
SET_FLAG(circuit->flags, ISIS_CIRCUIT_IF_DOWN_FROM_Z);
for (afi = AFI_IP; afi <= AFI_IP6; afi++)
isis_circuit_switchover_routes(