[PATCH v2 1/7] wpa_supplicant: add support for setting the syslog facility from the config file

Jouni Malinen j
Sun Mar 20 02:51:06 PDT 2011


On Thu, Feb 25, 2010 at 02:13:23PM -0800, Sam Leffler wrote:
> diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
> @@ -1225,6 +1225,12 @@ endif
> +# default syslog facility to LOG_DAEMON
> +ifeq ($(CONFIG_DEBUG_SYSLOG_FACILITY),)
> +CFLAGS += -DLOG_HOSTAPD="LOG_DAEMON"

I moved this default to src/utils/wpa_debug.c as an #ifndef to avoid
build issues in cases where wpa_supplicant/Makefile is not used.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list