47e113a639
This ensures we don't pass data (via msg_control) defined in a different scope to sendmsg(). Actually, some compilers (e.g. GCC 5.2.1) might optimize the memcpy() call away causing the packets not to get sent from the intended source address. It also makes the code clearer than with all these ifdefs. Fixes #1171. |
||
---|---|---|
.. | ||
Makefile.am | ||
socket_default_plugin.c | ||
socket_default_plugin.h | ||
socket_default_socket.c | ||
socket_default_socket.h |