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
49a9a8734f
commit
5153b0e012
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ 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_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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue