summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6d/log.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2011-08-20 19:02:28 +0000
committersthen <sthen@openbsd.org>2011-08-20 19:02:28 +0000
commit2def27a1bc6ed5bb99fc185148f1691c91a4f457 (patch)
tree3cf4bcf25a356aa971c5de837de72d287c64913f /usr.sbin/ospf6d/log.c
parentDecouple log_verbose() from log_init() so the verbose flag stays set with (diff)
downloadwireguard-openbsd-2def27a1bc6ed5bb99fc185148f1691c91a4f457.tar.xz
wireguard-openbsd-2def27a1bc6ed5bb99fc185148f1691c91a4f457.zip
Decouple log_verbose() from log_init() so the verbose flag stays set with
"-v" (previously only "-vd" worked). Similar to recent ospfd commit. ok claudio@
Diffstat (limited to 'usr.sbin/ospf6d/log.c')
-rw-r--r--usr.sbin/ospf6d/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/log.c b/usr.sbin/ospf6d/log.c
index 1eab0730003..2e34697b5cb 100644
--- a/usr.sbin/ospf6d/log.c
+++ b/usr.sbin/ospf6d/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.6 2009/12/22 17:45:47 claudio Exp $ */
+/* $OpenBSD: log.c,v 1.7 2011/08/20 19:02:28 sthen Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -51,7 +51,6 @@ log_init(int n_debug)
extern char *__progname;
debug = n_debug;
- verbose = n_debug;
if (!debug)
openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON);