summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-05-10 15:06:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-05-10 15:06:35 +0000
commit26053745bdda95437c48015e62906aa9bd5ac338 (patch)
treeaa9ac7aba003a0ffe883407ce63231f972fa19f7 /sbin
parentee6042671da6f3006c81e7b46d9cb943e0c2654b (diff)
remove serial number (used during development to observe file rewrites)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/resolvd/resolvd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/resolvd/resolvd.c b/sbin/resolvd/resolvd.c
index 6ff37dc132e..2e4e661fad8 100644
--- a/sbin/resolvd/resolvd.c
+++ b/sbin/resolvd/resolvd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolvd.c,v 1.11 2021/03/19 08:10:57 kn Exp $ */
+/* $OpenBSD: resolvd.c,v 1.12 2021/05/10 15:06:34 deraadt Exp $ */
/*
* Copyright (c) 2021 Florian Obser <florian@openbsd.org>
* Copyright (c) 2021 Theo de Raadt <deraadt@openbsd.org>
@@ -582,9 +582,6 @@ regen_resolvconf(char *why)
return;
}
- /* serial the file for debugging */
- dprintf(fd, "# resolvd: serial %u\n", arc4random());
-
#ifndef SMALL
if (unwind_running)
dprintf(fd, "nameserver 127.0.0.1 # resolvd: unwind\n");