From: Ondrej Filip Date: Wed, 17 May 2000 00:28:45 +0000 (+0000) Subject: Don't die, if you receive strange LSA. X-Git-Tag: v1.2.0~879 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ee2178935b1f4cdd465e290c13f6580901cec8d;p=thirdparty%2Fbird.git Don't die, if you receive strange LSA. --- diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 477f23fcb..c8b5b47e6 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -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;