1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-25 21:11:00 +02:00

c++ fixes

This commit is contained in:
mom040267 2015-03-17 05:59:21 +00:00
parent 79d68a27cb
commit 8f821880fc

View File

@ -67,7 +67,7 @@ static int run_stunclient(const char* rip, int rport, int *port, int *rfc5780, i
err(-1, NULL);
if (!addr_any(&real_local_addr)) {
if (addr_bind(udp_fd, &real_local_addr,0) < 0)
if (addr_bind(udp_fd, &real_local_addr,0,1) < 0)
err(-1, NULL);
}
}
@ -80,7 +80,7 @@ static int run_stunclient(const char* rip, int rport, int *port, int *rfc5780, i
addr_set_port(&real_local_addr, response_port);
if (addr_bind(new_udp_fd, &real_local_addr, 0) < 0)
if (addr_bind(new_udp_fd, &real_local_addr, 0, 1) < 0)
err(-1, NULL);
}