commit | 273b1bd341afff86ba571e0be296d88dba627136 | [log] [tgz] |
---|---|---|
author | Greg Troxel <gdt@ir.bbn.com> | Tue Dec 02 14:51:49 2014 -0500 |
committer | Greg Troxel <gdt@ir.bbn.com> | Tue Dec 02 20:24:23 2014 -0500 |
tree | b82720f4c6d11bb9c33c75e4eb5612e789f6da60 | |
parent | 5e4ba81dc212b172e715afa7b6ea668cddd8485d [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.