mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 20:58: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);
|
||||
if((mlen<0)||(mlen>32))
|
||||
{
|
||||
die("Invalid length of prefix! ID: %I, RT: %I, Type: %u, mask %I",
|
||||
en->lsa.id,en->lsa.rt,en->lsa.type,le->netmask);
|
||||
log("%s: Invalid mask in LSA.\nID: %I, RT: %I, Type: %u, Mask %I",
|
||||
p->proto,en->lsa.id,en->lsa.rt,en->lsa.type,le->netmask);
|
||||
continue;
|
||||
}
|
||||
|
||||
nf=NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user