diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2011-03-29 01:41:46 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2011-03-29 01:41:46 +0200 |
commit | ab164971891c64126097eedca11d2f5586f1d8e7 (patch) | |
tree | 46fdb499c0ede22595e97dbb7af82d1c42ed8292 /nest | |
parent | 52a43ae3b76f86b697537bc3ad8afdb3b421cf2c (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 73b05d08..3013b0f7 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; } |