Commit d07bab39 authored by Martin Mareš's avatar Martin Mareš
Browse files

ipa_opposite hack is not applicable in IPv6.

parent ef0883a1
......@@ -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));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment