artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d5788
)
Initialize the log subsytem in the SE like it is done in the RDE. Without
author
claudio
<claudio@openbsd.org>
Mon, 25 Jul 2016 14:29:28 +0000
(14:29 +0000)
committer
claudio
<claudio@openbsd.org>
Mon, 25 Jul 2016 14:29:28 +0000
(14:29 +0000)
this all logging is going via stderr to /dev/null which is not helpful.
OK deraadt@ phessler@
usr.sbin/bgpd/session.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/session.c
b/usr.sbin/bgpd/session.c
index
e5b0856
..
e70c9db
100644
(file)
--- a/
usr.sbin/bgpd/session.c
+++ b/
usr.sbin/bgpd/session.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: session.c,v 1.35
0 2016/07/21 10:13:5
8 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.35
1 2016/07/25 14:29:2
8 claudio Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@
-202,6
+202,9
@@
session_main(int debug, int verbose)
void *newp;
short events;
+ log_init(debug);
+ log_verbose(verbose);
+
if ((pw = getpwnam(BGPD_USER)) == NULL)
fatal(NULL);