From 8cab377d92b62c028ee7aab49049b7cb6cd53ab9 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 22 Dec 2010 23:33:40 +0100 Subject: Remove unnecessary check. --- nest/iface.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'nest') 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); -- cgit v1.2.3