From 9ffd849e0fb0c69b0db85af20539c19f0baca360 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 10 May 2021 15:06:34 +0000 Subject: [PATCH] remove serial number (used during development to observe file rewrites) --- sbin/resolvd/resolvd.c | 5 +---- 1 file changed, 1 insertion(+), 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 * Copyright (c) 2021 Theo de Raadt @@ -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"); -- 2.20.1