ipa_opposite hack is not applicable in IPv6.
This commit is contained in:
parent
ef0883a12f
commit
d07bab3997
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue