mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-12 22:28:44 +00:00
Don't die, if you receive strange LSA.
This commit is contained in:
parent
7f6b3cf247
commit
4ee2178935
@ -293,8 +293,9 @@ ospf_ext_spfa(struct proto_ospf *po) /* FIXME looking into inter-area */
|
|||||||
mlen=ipa_mklen(le->netmask);
|
mlen=ipa_mklen(le->netmask);
|
||||||
if((mlen<0)||(mlen>32))
|
if((mlen<0)||(mlen>32))
|
||||||
{
|
{
|
||||||
die("Invalid length of prefix! ID: %I, RT: %I, Type: %u, mask %I",
|
log("%s: Invalid mask in LSA.\nID: %I, RT: %I, Type: %u, Mask %I",
|
||||||
en->lsa.id,en->lsa.rt,en->lsa.type,le->netmask);
|
p->proto,en->lsa.id,en->lsa.rt,en->lsa.type,le->netmask);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
nf=NULL;
|
nf=NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user