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

Jouni Malinen j at w1.fi
Sun Mar 20 05:51:06 EDT 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