]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix sendmsg on OpenBSD
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 4 Aug 2016 13:07:25 +0000 (10:07 -0300)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Mon, 8 Aug 2016 01:05:26 +0000 (21:05 -0400)
commit288b91e0bdf99bd835ce82905415011f77ce5a62
treea29d6320c7960ae83ae884b40673d3f5eb32f46f
parent23b1f400488df822664e62c41fa24dde9c17913d
ospf6d: fix sendmsg on OpenBSD

When sending ancillary data on OpenBSD, we need to tell the compiler
that the ancillary data buffer should be aligned on the stack to the
minimum alignment of the first ancillary data object that will be sent.

Additionally, HAVE_SIN6_SCOPE_ID is not defined anywhere, check for
HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID instead.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_network.c