Remove unnecessary check.

This commit is contained in:
Ondrej Zajicek 2010-12-22 23:33:40 +01:00
parent 154e2aeded
commit 8cab377d92

View 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);