summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--proto/ospf/rt.c5
1 files 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;