summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-07-09 14:53:15 +0200
committerMaria Matejka <mq@ucw.cz>2019-07-09 14:53:15 +0200
commit74a38adb6b4b4bf2a67e7a779a7c95b0ef1b9894 (patch)
treeb6904e651af9c5f7b739fd092b2cd0ef62fe0877 /proto/ospf/rt.c
parent1322e205e2066c0da8526bed505dc699d0f5b92a (diff)
parent2872ab927ecb94b1555f5e3c8bd33021261d0c54 (diff)
Merge branch 'master' of gitlab.labs.nic.cz:labs/bird
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r--proto/ospf/rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 126ef201..b5787b54 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -1640,7 +1640,7 @@ ospf_rt_reset(struct ospf_proto *p)
en->lb = IPA_NONE;
if (en->mode == LSA_M_RTCALC)
- en->mode = LSA_M_STALE;
+ en->mode = LSA_M_RTCALC_STALE;
}
WALK_LIST(oa, p->area_list)
@@ -2117,7 +2117,7 @@ again2:
/* Cleanup stale LSAs */
WALK_SLIST(en, p->lsal)
- if (en->mode == LSA_M_STALE)
+ if (en->mode == LSA_M_RTCALC_STALE)
ospf_flush_lsa(p, en);
}