add maclist file

This commit is contained in:
PolynomialDivision 2017-11-22 20:49:04 +01:00
parent aa6f72e7ed
commit 23987d68e7
4 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ int main(int argc, char **argv) {
return 1;
}
init_socket_runopts(opt_broadcast_ip, opt_broadcast_port, 1);
init_socket_runopts(opt_broadcast_ip, opt_broadcast_port, 0);
dawn_init_ubus(ubus_socket, opt_hostapd_dir);

View file

@ -19,7 +19,7 @@ int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_
memset(addr, 0, sizeof(*addr));
addr->sin_family = AF_INET;
addr->sin_addr.s_addr = htonl (INADDR_ANY);
addr->sin_addr.s_addr = inet_addr(_multicast_ip);
addr->sin_port = htons (_multicast_port);
if ((sock = socket(PF_INET, SOCK_DGRAM, 0)) == -1) {