diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-05-20 22:34:56 +0200 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-08 13:19:30 -0700 |
| commit | 5c6ed111e5ef6e26b1ae8a42da07f4fce3e9567f (patch) | |
| tree | 49a6c42c21c810416088a776fcc4391705100ac1 /lib/json.c | |
| parent | 7cb5cdbb346504cac853499b2977b47c34ea0a43 (diff) | |
lib: fix "sockunion: add hash function" for BSD (9196caf)
The sockunion_hash() function uses s6_addr32, which is not defined on
BSD systems. (It only works on glibc because we set _GNU_SOURCE)
ripngd/ripng_nexthop.h already contains a workaround for this. Bump
workaround to prefix.h so it's available everywhere.
Reported-by: NetDEF CI System <mwinter@netdef.org>
Fixes: 9196caf ("sockunion: add hash function")
Cc: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
