aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile1
-rw-r--r--usr.sbin/wpa/wpa_supplicant/wpa_supplicant.88
2 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index f493fa2f5a94..9465a46c0838 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -27,6 +27,7 @@ CFLAGS+= -DCONFIG_DRIVER_WIRED
CFLAGS+= -DCONFIG_CTRL_IFACE
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
CFLAGS+= -DCONFIG_TERMINATE_ONLASTIF
+CFLAGS+= -DCONFIG_DEBUG_SYSLOG
CFLAGS+= -g
DPADD+= ${LIBPCAP}
LDADD+= -lpcap
diff --git a/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 b/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
index 31adf2ff7429..3f01e896c310 100644
--- a/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
+++ b/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 21, 2008
+.Dd March 24, 2008
.Dt WPA_SUPPLICANT 8
.Os
.Sh NAME
@@ -32,7 +32,7 @@
.Nd "WPA/802.11i Supplicant for wireless network devices"
.Sh SYNOPSIS
.Nm
-.Op Fl BdehLqvw
+.Op Fl BdehLqsvw
.Fl i Ar ifname
.Fl c Ar config-file
.Sh DESCRIPTION
@@ -100,6 +100,10 @@ Show help text.
Decrease debugging verbosity (i.e., counteract the use of the
.Fl d
flag).
+.It Fl s
+Send log messages through
+.Xr syslog 3
+instead of to the terminal.
.It Fl v
Display version information on the terminal and exit.
.It Fl w