Remove unnecessary check.
This commit is contained in:
parent
154e2aeded
commit
8cab377d92
1 changed files with 0 additions and 2 deletions
|
@ -483,8 +483,6 @@ ifa_update(struct ifa *a)
|
||||||
break;
|
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
|
#ifndef IPV6
|
||||||
if ((i->flags & IF_BROADCAST) && !ipa_nonzero(a->brd))
|
if ((i->flags & IF_BROADCAST) && !ipa_nonzero(a->brd))
|
||||||
log(L_ERR "Missing broadcast address for interface %s", i->name);
|
log(L_ERR "Missing broadcast address for interface %s", i->name);
|
||||||
|
|
Loading…
Reference in a new issue