]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Don't die, if you receive strange LSA.
authorOndrej Filip <feela@network.cz>
Wed, 17 May 2000 00:28:45 +0000 (00:28 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 17 May 2000 00:28:45 +0000 (00:28 +0000)
proto/ospf/rt.c

index 477f23fcb30e2bf2e53fb96c06151f4ecd67a9ad..c8b5b47e653b0974b7225716960a67defbfe32a9 100644 (file)
@@ -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;