artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a7ccef
)
Call log_setverbosity() directly after getopt() so that debugging
author
martijn
<martijn@openbsd.org>
Fri, 22 Dec 2023 13:04:30 +0000
(13:04 +0000)
committer
martijn
<martijn@openbsd.org>
Fri, 22 Dec 2023 13:04:30 +0000
(13:04 +0000)
information during config-parsing can be displayed.
OK tb@
usr.sbin/snmpd/snmpd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/snmpd/snmpd.c
b/usr.sbin/snmpd/snmpd.c
index
2f35ede
..
d3ecfd6
100644
(file)
--- a/
usr.sbin/snmpd/snmpd.c
+++ b/
usr.sbin/snmpd/snmpd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: snmpd.c,v 1.
49 2023/12/21 12:43:31
martijn Exp $ */
+/* $OpenBSD: snmpd.c,v 1.
50 2023/12/22 13:04:30
martijn Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@
-192,6
+192,8
@@
main(int argc, char *argv[])
if (argc > 0)
usage();
+ log_setverbose(verbose);
+
if ((env = parse_config(conffile, flags)) == NULL)
exit(1);