summaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:09:07 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:09:07 +0100
commit28f43d02149c96b87555e08f79e0c33c7a07e1af (patch)
tree8f07587ebba7e2bbc2ed1b590665b7c849780024 /proxy.c
parent2c7659ec930277981b6333b5b3aff7840d11933c (diff)
Fix build. Last commit was too huge ;)
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy.c b/proxy.c
index 16b8286..a870c63 100644
--- a/proxy.c
+++ b/proxy.c
@@ -485,7 +485,7 @@ static void panic(const char *routine) {
485} 485}
486 486
487static int64_t ot_try_bind(ot_ip6 ip, uint16_t port) { 487static 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");