Calculate checksum when reflooding (after min ls_refresh).

This commit is contained in:
Ondrej Filip 2000-06-01 12:08:14 +00:00
parent 5f4aee76a2
commit c52c7e7645

View file

@ -36,6 +36,7 @@ ospf_age(struct ospf_area *oa)
en->lsa.sn++; en->lsa.sn++;
en->lsa.age=0; en->lsa.age=0;
flood_lsa(NULL,NULL,&en->lsa,po,NULL,oa,1); flood_lsa(NULL,NULL,&en->lsa,po,NULL,oa,1);
lsasum_calculate(&en->lsa,en->lsa_body,po);
return; return;
} }
if((en->lsa.age+=delta)>LSA_MAXAGE) if((en->lsa.age+=delta)>LSA_MAXAGE)