diff options
author | hasso <hasso> | 2003-05-26 16:35:50 +0200 |
---|---|---|
committer | hasso <hasso> | 2003-05-26 16:35:50 +0200 |
commit | e3289be24694a018b2d6ba9ac99ebc0fc86ffccc (patch) | |
tree | f8d7f0166fdd0580f503cf191a0e2fa05b6367be /ripngd/ripng_nexthop.h | |
parent | Add .cvsignore for redhat (diff) | |
download | frr-e3289be24694a018b2d6ba9ac99ebc0fc86ffccc.tar.xz frr-e3289be24694a018b2d6ba9ac99ebc0fc86ffccc.zip |
*BSD compile fix from Rivo Nurges.
Diffstat (limited to 'ripngd/ripng_nexthop.h')
-rw-r--r-- | ripngd/ripng_nexthop.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ripngd/ripng_nexthop.h b/ripngd/ripng_nexthop.h index 5c778f5e2..2213fc2ae 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] |