Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> --- src/socket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/socket.c b/src/socket.c index c9afd34..cc997df 100644 --- a/src/socket.c +++ b/src/socket.c @@ -171,7 +171,7 @@ int mnl_socket_bind(struct mnl_socket *nl, unsigned int groups, pid_t pid) */ int mnl_socket_sendto(const struct mnl_socket *nl, const void *buf, size_t len) { - struct sockaddr_nl snl = { + static const struct sockaddr_nl snl = { .nl_family = AF_NETLINK }; return sendto(nl->fd, buf, len, 0, -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html