Calculate checksum when reflooding (after min ls_refresh).
This commit is contained in:
parent
5f4aee76a2
commit
c52c7e7645
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue