summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-03-29 01:41:46 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-03-29 01:41:46 +0200
commitab164971891c64126097eedca11d2f5586f1d8e7 (patch)
tree46fdb499c0ede22595e97dbb7af82d1c42ed8292 /nest
parent52a43ae3b76f86b697537bc3ad8afdb3b421cf2c (diff)
downloadbird-ab164971891c64126097eedca11d2f5586f1d8e7.tar
bird-ab164971891c64126097eedca11d2f5586f1d8e7.zip
Fixes a nasty bug in OSPF.
Sending malformed network prefixes in LSAs causes OSPF to crash just after the LSA is propagated to the other routers.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 73b05d0..3013b0f 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -374,7 +374,7 @@ rte_validate(rte *e)
if ((n->n.pxlen > BITS_PER_IP_ADDRESS) || !ip_is_prefix(n->n.prefix,n->n.pxlen))
{
- log(L_BUG "Ignoring bogus prefix %I/%d received via %s",
+ log(L_WARN "Ignoring bogus prefix %I/%d received via %s",
n->n.prefix, n->n.pxlen, e->sender->name);
return 0;
}