summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-01 14:08:14 +0200
committerOndrej Filip <feela@network.cz>2000-06-01 14:08:14 +0200
commitc52c7e764576fed027defa0c06a056f89912787a (patch)
tree46608da23fa40ac27c3d30fc6c0f2b737b52cfbd /proto/ospf/lsalib.c
parent5f4aee76a2e26a6947f47273d510edc524716a45 (diff)
downloadbird-c52c7e764576fed027defa0c06a056f89912787a.tar
bird-c52c7e764576fed027defa0c06a056f89912787a.zip
Calculate checksum when reflooding (after min ls_refresh).
Diffstat (limited to 'proto/ospf/lsalib.c')
-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 f4bbe25..d24809c 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)