Code

Fix build on Solaris 10
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 2 Aug 2016 11:44:55 +0000 (13:44 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 2 Aug 2016 11:44:55 +0000 (13:44 +0200)
src/libcollectdclient/network.c

index 1a6c0f15abe2521bceaf04f966adc1a988b77b12..8e6bab86823efd3c6a4b23aa6d794681d999baa4 100644 (file)
@@ -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,