]> git.ipfire.org Git - thirdparty/hostap.git/commit
Allow debug log to be written to both syslog and file
authorJouni Malinen <j@w1.fi>
Sat, 28 Dec 2019 16:17:44 +0000 (18:17 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 28 Dec 2019 16:28:10 +0000 (18:28 +0200)
commit53661e3a9af377a540368f155851373c592ff5a7
treeb3ec9e5fd317f0236a6d18cfdd92c5e492cb5a0e
parent53a96146fb1f5b974a690e84cc32044e98c7ea94
Allow debug log to be written to both syslog and file

If hostapd or wpa_supplicant is started with both -s and -f command line
arguments, debug log ended up being written only into syslog and the log
file was left empty. Change this so that the log entries will be written
to both places. Either -s or -f (or both) results in debug log to stdout
being disabled which was already the case.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/main.c
src/utils/wpa_debug.c
src/utils/wpa_debug.h
wpa_supplicant/wpa_supplicant.c