]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
ipa_opposite hack is not applicable in IPv6.
authorMartin Mares <mj@ucw.cz>
Wed, 1 Mar 2000 11:29:30 +0000 (11:29 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 1 Mar 2000 11:29:30 +0000 (11:29 +0000)
sysdep/linux/netlink/netlink.c

index fd8689dcd9383129dcd176326c3f8435b657c45c..bdc879f6ef4ba7dc8d5f49c1da4d493cf8f9613b 100644 (file)
@@ -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));