diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 19:58:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 19:58:34 +0200 |
commit | 6384c7d7aa85d1e593eca30cda48f6677b023cb0 (patch) | |
tree | 6c926854e331ab87fe98d6dca9c95c708843a086 /proto/ospf/lsalib.c | |
parent | ba321706578de8402d50214a9e79a65835cdd821 (diff) |
OSPF: most of summary LSA orig./flush logic rewritten.
Fixes many bugs in the old code and makes it much cleaner.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r-- | proto/ospf/lsalib.c | 9 |
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) |