mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Remove unnecessary check.
This commit is contained in:
parent
154e2aeded
commit
8cab377d92
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user