summaryrefslogtreecommitdiff
path: root/lib/linklist.h
diff options
context:
space:
mode:
authorGreg Troxel <gdt@ir.bbn.com>2014-12-02 14:51:49 -0500
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 15:24:50 +0000
commitcfa0ed0949284a978e6d1710de66cf40474594c9 (patch)
tree19eb8921ec31abbde5728aeb8e34749451b68c85 /lib/linklist.h
parent9b97a19b10268c8a4b533e72640d53b504e90193 (diff)
zebra/kernel_socket.c: Use platform alignment
Use the platform-provided RT_ROUNDUP macro to align sockaddrs on the routing socket, rather than using hard-coded assumptions about alignment. Emit a warning if the OS doesn't define alignment macros. Resolves failure of ripngd on NetBSD 6 i386, which changed alignment to uint64_t from long. (cherry picked from commit 273b1bd341afff86ba571e0be296d88dba627136)
Diffstat (limited to 'lib/linklist.h')
0 files changed, 0 insertions, 0 deletions