summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-12-22 23:33:40 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-12-22 23:33:40 +0100
commit8cab377d92b62c028ee7aab49049b7cb6cd53ab9 (patch)
treef24cdaa94dfc9338093200f8b570bb882fb38dde
parent154e2aeded13f46666a69b7a7241149c43ebc01f (diff)
downloadbird-8cab377d92b62c028ee7aab49049b7cb6cd53ab9.tar
bird-8cab377d92b62c028ee7aab49049b7cb6cd53ab9.zip
Remove unnecessary check.
-rw-r--r--nest/iface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nest/iface.c b/nest/iface.c
index c523678..19b19ed 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -483,8 +483,6 @@ ifa_update(struct ifa *a)
break;
}
- if (!(i->flags & IF_MULTIACCESS) && a->pxlen < BITS_PER_IP_ADDRESS - 2)
- log(L_WARN "Strange prefix length %d for point-to-point interface %s", a->pxlen, i->name);
#ifndef IPV6
if ((i->flags & IF_BROADCAST) && !ipa_nonzero(a->brd))
log(L_ERR "Missing broadcast address for interface %s", i->name);