mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Remove unnecessary check.
This commit is contained in:
parent
154e2aeded
commit
8cab377d92
@ -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 New Issue
Block a user