0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

ipa_opposite hack is not applicable in IPv6.

This commit is contained in:
Martin Mares 2000-03-01 11:29:30 +00:00
parent ef0883a12f
commit d07bab3997

View File

@ -374,9 +374,9 @@ nl_parse_addr(struct nlmsghdr *h)
}
else
{
#ifndef IPV6
if (i->ifa_prefixlen == BITS_PER_IP_ADDRESS - 2)
ifa.opposite = ipa_opposite(ifa.ip);
#ifndef IPV6
if ((ifi->flags & IF_BROADCAST) && a[IFA_BROADCAST])
{
memcpy(&ifa.brd, RTA_DATA(a[IFA_BROADCAST]), sizeof(ifa.brd));