mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
fix multicast
This commit is contained in:
parent
947ccb85f0
commit
edf60681cc
1 changed files with 0 additions and 1 deletions
|
@ -55,7 +55,6 @@ int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_
|
||||||
|
|
||||||
/* Join the broadcast group: */
|
/* Join the broadcast group: */
|
||||||
command.imr_multiaddr.s_addr = inet_addr(_multicast_ip);
|
command.imr_multiaddr.s_addr = inet_addr(_multicast_ip);
|
||||||
command.imr_interface.s_addr = htonl (INADDR_ANY);
|
|
||||||
if (command.imr_multiaddr.s_addr == -1) {
|
if (command.imr_multiaddr.s_addr == -1) {
|
||||||
perror("Wrong multicast address!\n");
|
perror("Wrong multicast address!\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue