summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-26 14:35:50 +0000
committerhasso <hasso>2003-05-26 14:35:50 +0000
commit96de0251b1df9fde763dca8c76bed49778a6b1d7 (patch)
tree996daf0b4430de488d663b282f9ec3b22994e763
parent2bb6fb436e8e15f4c33d2ada99e40928a7666128 (diff)
downloadquagga-96de0251b1df9fde763dca8c76bed49778a6b1d7.tar.bz2
quagga-96de0251b1df9fde763dca8c76bed49778a6b1d7.tar.xz
*BSD compile fix from Rivo Nurges.
-rw-r--r--ripngd/ripng_nexthop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ripngd/ripng_nexthop.h b/ripngd/ripng_nexthop.h
index 5c778f5e..2213fc2a 100644
--- a/ripngd/ripng_nexthop.h
+++ b/ripngd/ripng_nexthop.h
@@ -41,6 +41,11 @@ void ripng_rte_send(struct list *ripng_rte_list, struct interface *ifp,
**/
static inline int
addr6_cmp(struct in6_addr *A, struct in6_addr *B) {
+
+#ifndef s6_addr32
+#define s6_addr32 __u6_addr.__u6_addr32
+#endif /*s6_addr32*/
+
#define a(i) A->s6_addr32[i]
#define b(i) B->s6_addr32[i]