mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Merge commit 'origin/master' into new
This commit is contained in:
commit
1d44ddf20f
@ -373,8 +373,7 @@ nl_parse_addr(struct nlmsghdr *h)
|
|||||||
memcpy(&ifa.ip, RTA_DATA(a[IFA_LOCAL] ? : a[IFA_ADDRESS]), sizeof(ifa.ip));
|
memcpy(&ifa.ip, RTA_DATA(a[IFA_LOCAL] ? : a[IFA_ADDRESS]), sizeof(ifa.ip));
|
||||||
ipa_ntoh(ifa.ip);
|
ipa_ntoh(ifa.ip);
|
||||||
ifa.pxlen = i->ifa_prefixlen;
|
ifa.pxlen = i->ifa_prefixlen;
|
||||||
if (i->ifa_prefixlen > BITS_PER_IP_ADDRESS ||
|
if (i->ifa_prefixlen > BITS_PER_IP_ADDRESS)
|
||||||
i->ifa_prefixlen == BITS_PER_IP_ADDRESS - 1)
|
|
||||||
{
|
{
|
||||||
log(L_ERR "KIF: Invalid prefix length for interface %s: %d", ifi->name, i->ifa_prefixlen);
|
log(L_ERR "KIF: Invalid prefix length for interface %s: %d", ifi->name, i->ifa_prefixlen);
|
||||||
new = 0;
|
new = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user