diff options
author | sthen <sthen@openbsd.org> | 2011-08-20 19:02:28 +0000 |
---|---|---|
committer | sthen <sthen@openbsd.org> | 2011-08-20 19:02:28 +0000 |
commit | 2def27a1bc6ed5bb99fc185148f1691c91a4f457 (patch) | |
tree | 3cf4bcf25a356aa971c5de837de72d287c64913f /usr.sbin/ospf6d/log.c | |
parent | Decouple log_verbose() from log_init() so the verbose flag stays set with (diff) | |
download | wireguard-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.c | 3 |
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); |