summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c
index 27b2570..ec92fe0 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -339,6 +339,7 @@ static void listen_bind_one(ot_listen *entry) {
339 if (entry->proto == FLAG_TCP) { 339 if (entry->proto == FLAG_TCP) {
340 if ((entry->sock = socket_tcp_listen(entry->ip, entry->port, sharing)) == -1) 340 if ((entry->sock = socket_tcp_listen(entry->ip, entry->port, sharing)) == -1)
341 panic("socket_tcp_listen"); 341 panic("socket_tcp_listen");
342 socket_defer_accept((int)entry->sock);
342 } else { 343 } else {
343 if ((entry->sock = socket_udp_bind(entry->ip, entry->port, sharing)) == -1) 344 if ((entry->sock = socket_udp_bind(entry->ip, entry->port, sharing)) == -1)
344 panic("socket_udp_bind"); 345 panic("socket_udp_bind");