From 6384c7d7aa85d1e593eca30cda48f6677b023cb0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 2 May 2010 19:58:34 +0200 Subject: OSPF: most of summary LSA orig./flush logic rewritten. Fixes many bugs in the old code and makes it much cleaner. --- proto/ospf/lsalib.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'proto/ospf/lsalib.c') diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c index c932fe0..27a0148 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) -- cgit v1.2.3