]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Remove unnecessary check.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 22 Dec 2010 22:33:40 +0000 (23:33 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 22 Dec 2010 22:33:40 +0000 (23:33 +0100)
nest/iface.c

index c52367824e8d1845fecbd9b9ddc098dfcfec75f3..19b19ed578d1fa7838e7fd5d1c7957517d9db53f 100644 (file)
@@ -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);