summaryrefslogtreecommitdiff
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index c932fe04..27a01485 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -47,15 +47,6 @@ ospf_age(struct proto_ospf *po)
WALK_SLIST_DELSAFE(en, nxt, po->lsal)
{
- if (po->calcrt)
- {
- /* Cleanup before ospf_rt_spf() */
- en->color = OUTSPF;
- en->dist = LSINFINITY;
- en->nhi = NULL;
- en->nh = IPA_NONE;
- en->lb = IPA_NONE;
- }
if (en->lsa.age == LSA_MAXAGE)
{
if (flush)