From: Ruben Kerkhof Date: Tue, 2 Aug 2016 11:44:55 +0000 (+0200) Subject: Fix build on Solaris 10 X-Git-Tag: collectd-5.6.0~129 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=dc6f54ccc87c5ae63d29f05eca91714ade689691;p=collectd.git Fix build on Solaris 10 --- diff --git a/src/libcollectdclient/network.c b/src/libcollectdclient/network.c index 1a6c0f15..8e6bab86 100644 --- a/src/libcollectdclient/network.c +++ b/src/libcollectdclient/network.c @@ -421,7 +421,7 @@ int lcc_server_set_interface (lcc_server_t *srv, char const *interface) /* {{{ * struct ip_mreq mreq = { .imr_multiaddr.s_addr = addr->sin_addr.s_addr, .imr_interface.s_addr = ntohl (INADDR_ANY) - } + }; #endif status = setsockopt (srv->fd, IPPROTO_IP, IP_MULTICAST_IF,