]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*BSD compile fix from Rivo Nurges.
authorhasso <hasso>
Mon, 26 May 2003 14:35:50 +0000 (14:35 +0000)
committerhasso <hasso>
Mon, 26 May 2003 14:35:50 +0000 (14:35 +0000)
ripngd/ripng_nexthop.h

index 5c778f5e2f1c1140a83065e9acd10931c5199614..2213fc2aeb913aa0ec4472e1c54a1709fd42002c 100644 (file)
@@ -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]