diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-01 11:29:30 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-01 11:29:30 +0000 |
commit | d07bab399735ee80205637f8e180e7595e0c0a67 (patch) | |
tree | 3d3c871c8fa5714da5215b8b785e028b610bc4e0 /sysdep/linux | |
parent | ef0883a12fc699fbcef61f56fe8445f5e2ac1bb7 (diff) |
ipa_opposite hack is not applicable in IPv6.
Diffstat (limited to 'sysdep/linux')
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index fd8689dc..bdc879f6 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -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)); |