From d07bab399735ee80205637f8e180e7595e0c0a67 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 1 Mar 2000 11:29:30 +0000 Subject: [PATCH] ipa_opposite hack is not applicable in IPv6. --- sysdep/linux/netlink/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));