diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-01 12:29:30 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-01 12:29:30 +0100 |
commit | d07bab399735ee80205637f8e180e7595e0c0a67 (patch) | |
tree | 3d3c871c8fa5714da5215b8b785e028b610bc4e0 /sysdep/linux/netlink | |
parent | ef0883a12fc699fbcef61f56fe8445f5e2ac1bb7 (diff) | |
download | bird-d07bab399735ee80205637f8e180e7595e0c0a67.tar bird-d07bab399735ee80205637f8e180e7595e0c0a67.zip |
ipa_opposite hack is not applicable in IPv6.
Diffstat (limited to 'sysdep/linux/netlink')
-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 fd8689d..bdc879f 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)); |