diff options
Diffstat (limited to 'proxy.c')
| -rw-r--r-- | proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -485,7 +485,7 @@ static void panic(const char *routine) { | |||
| 485 | } | 485 | } |
| 486 | 486 | ||
| 487 | static int64_t ot_try_bind(ot_ip6 ip, uint16_t port) { | 487 | static int64_t ot_try_bind(ot_ip6 ip, uint16_t port) { |
| 488 | int64_t sock = socket_tcp_listen(ip, port); | 488 | int64_t sock = socket_tcp_listen(ip, port, SOCKET_EXCLUSIVE); |
| 489 | 489 | ||
| 490 | if (sock == -1) | 490 | if (sock == -1) |
| 491 | panic("socket_tcp_listen"); | 491 | panic("socket_tcp_listen"); |
