summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-01 12:08:14 +0000
committerOndrej Filip <feela@network.cz>2000-06-01 12:08:14 +0000
commitc52c7e764576fed027defa0c06a056f89912787a (patch)
tree46608da23fa40ac27c3d30fc6c0f2b737b52cfbd
parent5f4aee76a2e26a6947f47273d510edc524716a45 (diff)
Calculate checksum when reflooding (after min ls_refresh).
-rw-r--r--proto/ospf/lsalib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index f4bbe255..d24809ce 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -36,6 +36,7 @@ ospf_age(struct ospf_area *oa)
en->lsa.sn++;
en->lsa.age=0;
flood_lsa(NULL,NULL,&en->lsa,po,NULL,oa,1);
+ lsasum_calculate(&en->lsa,en->lsa_body,po);
return;
}
if((en->lsa.age+=delta)>LSA_MAXAGE)