Skip to content

Commit

Permalink
IP_MULTICAST_LOOP should be set to false/0
Browse files Browse the repository at this point in the history
If IP_MULTICAST_LOOP is left to true/1 the dawn instance will send the packet out and then receive it itself, this will generate a 'Remote PROBE updated client / BSSID = XX:XX:XX:XX:XX:XX / YY:YY:YY:YY:YY:YY' after every 'Local PROBE used to update client / BSSID = XX:XX:XX:XX:XX:XX / YY:YY:YY:YY:YY:YY'
  • Loading branch information
imwhocodes authored and PolynomialDivision committed Jan 10, 2023
1 parent a2b1901 commit a095a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/multicastsocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_
}

// allow broadcast
loop = 1;
loop = 0;
if (setsockopt(sock,
IPPROTO_IP,
IP_MULTICAST_LOOP,
Expand Down Expand Up @@ -85,4 +85,4 @@ int remove_multicast_socket(int socket) {
return -1;
}
return 0;
}
}

0 comments on commit a095a6f

Please sign in to comment.