caught by autobuild, missing net->sock to net change

This commit is contained in:
Coren[m] 2013-09-09 16:27:24 +02:00
parent dbd75e903e
commit 9439d296f1

View File

@ -71,7 +71,7 @@ static uint32_t send_broadcasts(Networking_Core *net, uint16_t port, uint8_t * d
sock_holder = (struct sockaddr_in *)&i_faces[i].ifr_broadaddr; sock_holder = (struct sockaddr_in *)&i_faces[i].ifr_broadaddr;
if (sock_holder != NULL) { if (sock_holder != NULL) {
IP_Port ip_port = {{{{sock_holder->sin_addr.s_addr}}, port, 0}}; IP_Port ip_port = {{{{sock_holder->sin_addr.s_addr}}, port, 0}};
sendpacket(net->sock, ip_port, data, 1 + crypto_box_PUBLICKEYBYTES); sendpacket(net, ip_port, data, 1 + crypto_box_PUBLICKEYBYTES);
} }
} }