fix multicast

This commit is contained in:
PolynomialDivision 2017-12-12 13:28:02 +01:00
parent 947ccb85f0
commit edf60681cc

View file

@ -55,7 +55,6 @@ int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_
/* Join the broadcast group: */
command.imr_multiaddr.s_addr = inet_addr(_multicast_ip);
command.imr_interface.s_addr = htonl (INADDR_ANY);
if (command.imr_multiaddr.s_addr == -1) {
perror("Wrong multicast address!\n");
exit(EXIT_FAILURE);