summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/ospf6d.c
diff options
context:
space:
mode:
authorremi <remi@cvs.openbsd.org>2018-07-09 13:19:47 +0000
committerremi <remi@cvs.openbsd.org>2018-07-09 13:19:47 +0000
commitf9c335092fa4f17ef4e74c1d5e4f4fb224440471 (patch)
tree8df1fa6abc1f436039e344b8b4fa822c2107029f /usr.sbin/ospf6d/ospf6d.c
parent6a112fcc6f979c0051ba8dbceced64acc951540d (diff)
Set log_setverbose(1) early to see debug logs during parsing the config
but only when -v is used. ok jca@ claudio@
Diffstat (limited to 'usr.sbin/ospf6d/ospf6d.c')
-rw-r--r--usr.sbin/ospf6d/ospf6d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/ospf6d.c b/usr.sbin/ospf6d/ospf6d.c
index 2b00067cf73..0e40111b526 100644
--- a/usr.sbin/ospf6d/ospf6d.c
+++ b/usr.sbin/ospf6d/ospf6d.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6d.c,v 1.35 2017/11/05 16:56:02 jca Exp $ */
+/* $OpenBSD: ospf6d.c,v 1.36 2018/07/09 13:19:46 remi Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -121,7 +121,6 @@ main(int argc, char *argv[])
log_init(1, LOG_DAEMON); /* log to stderr until daemonized */
log_procinit(log_procnames[ospfd_process]);
- log_setverbose(1);
while ((ch = getopt(argc, argv, "cdD:f:s:nv")) != -1) {
switch (ch) {