From 4ee2178935b1f4cdd465e290c13f6580901cec8d Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 17 May 2000 00:28:45 +0000 Subject: Don't die, if you receive strange LSA. --- proto/ospf/rt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 477f23f..c8b5b47 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; -- cgit v1.2.3