summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ndb/dn.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-01-04 19:25:05 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-01-04 19:25:05 +0000
commit2402025982aa44c91e452fd792abdfc880461944 (patch)
tree02e41a037ef3ba6f07d8d82e6308ee794854e371 /sys/src/cmd/ndb/dn.c
parent358551de19c9ff5bab9cd9c98769224f63fb7e94 (diff)
ndb/dns: allow specifying local ip addresses for serving dns
Allow specifying the local IP addresses that the UDP dns server will listen on when the -s flag is given.
Diffstat (limited to 'sys/src/cmd/ndb/dn.c')
-rw-r--r--sys/src/cmd/ndb/dn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/cmd/ndb/dn.c b/sys/src/cmd/ndb/dn.c
index 2fbbb50c6..6bc47b04a 100644
--- a/sys/src/cmd/ndb/dn.c
+++ b/sys/src/cmd/ndb/dn.c
@@ -144,7 +144,6 @@ static void
ding(void*, char *msg)
{
if(strstr(msg, "alarm") != nil) {
- stats.alarms++;
noted(NCONT); /* resume with system call error */
} else
noted(NDFLT); /* die */