aboutsummaryrefslogtreecommitdiff
path: root/networking/dnsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/dnsd.c')
-rw-r--r--networking/dnsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 6d1335e67..78722d6f6 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -377,7 +377,7 @@ int dnsd_main(int argc, char **argv)
377 signal(SIGURG, SIG_IGN); 377 signal(SIGURG, SIG_IGN);
378#endif 378#endif
379 379
380 lsa = host2sockaddr(listen_interface, port); 380 lsa = xhost2sockaddr(listen_interface, port);
381 udps = xsocket(lsa->sa.sa_family, SOCK_DGRAM, 0); 381 udps = xsocket(lsa->sa.sa_family, SOCK_DGRAM, 0);
382 xbind(udps, &lsa->sa, lsa->len); 382 xbind(udps, &lsa->sa, lsa->len);
383 // xlisten(udps, 50); - ?!! DGRAM sockets are never listened on I think? 383 // xlisten(udps, 50); - ?!! DGRAM sockets are never listened on I think?