projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f241d
)
Reopen log file after SIGHUP.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 6 Jun 2011 19:19:30 +0000
(21:19 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 6 Jun 2011 19:19:30 +0000
(21:19 +0200)
This was missed by the previous merge.
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index b299bf18ebfc2255415c612db8bed0e57a2d4bc7..aae73969001577a9f4110adcc528db47b90405d9 100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-244,6
+244,7
@@
static void sigterm_handler(int signal, short events, void *data) {
static void sighup_handler(int signal, short events, void *data) {
logger(LOG_NOTICE, "Got %s signal", strsignal(signal));
+ reopenlogger();
reload_configuration();
}