Module Name:    src
Committed By:   sborrill
Date:           Fri Jan 22 16:41:57 UTC 2010

Modified Files:
        src/usr.sbin/wpa/wpa_supplicant: Makefile wpa_supplicant.8

Log Message:
Enable CONFIG_DEBUG_FILE option to allow debug messages to be sent to
a file instead of stdout.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/wpa/wpa_supplicant/Makefile
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/wpa/wpa_supplicant/Makefile
diff -u src/usr.sbin/wpa/wpa_supplicant/Makefile:1.11 src/usr.sbin/wpa/wpa_supplicant/Makefile:1.12
--- src/usr.sbin/wpa/wpa_supplicant/Makefile:1.11	Fri Dec 12 21:41:04 2008
+++ src/usr.sbin/wpa/wpa_supplicant/Makefile	Fri Jan 22 16:41:57 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/12/12 21:41:04 christos Exp $
+# $NetBSD: Makefile,v 1.12 2010/01/22 16:41:57 sborrill Exp $
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -25,6 +25,7 @@
 
 CPPFLAGS+= -DCONFIG_DRIVER_BSD
 CPPFLAGS+= -DCONFIG_CTRL_IFACE
+CPPFLAGS+= -DCONFIG_DEBUG_FILE
 DPADD+=	${LIBPCAP}
 LDADD+=	-lpcap
 

Index: src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
diff -u src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8:1.5 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8:1.6
--- src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8:1.5	Wed Jun 28 15:06:59 2006
+++ src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8	Fri Jan 22 16:41:57 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: wpa_supplicant.8,v 1.5 2006/06/28 15:06:59 drochner Exp $
+.\" $NetBSD: wpa_supplicant.8,v 1.6 2010/01/22 16:41:57 sborrill Exp $
 .\"
 .\" Copyright (c) 2005 Sam Leffler <s...@errno.com>
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" Based on:
 .\" $FreeBSD: /repoman/r/ncvs/src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8,v 1.2 2005/06/27 06:40:43 ru Exp $
 .\"
-.Dd October 1, 2005
+.Dd January 22, 2010
 .Dt WPA_SUPPLICANT 8
 .Os
 .Sh NAME
@@ -37,6 +37,7 @@
 .Nm
 .Op Fl BdehLqvw
 .Fl i Ar ifname
+.Fl f Ar debug-file
 .Fl c Ar config-file
 .Op Fl N i Ar ifname Fl c Ar config-file ...
 .Sh DESCRIPTION
@@ -99,10 +100,18 @@
 .It Fl d
 Enable debugging messages.
 If this option is supplied twice, more verbose messages are displayed.
+Messages are sent to stdout by default, even when daemonised.
+This can be changed with the
+.Fl f
+flag.
 .It Fl e
 Use an external IEEE 802.1X Supplicant program and disable the
 internal Supplicant.
 This option is not normally used.
+.It Fl f
+Specifies a file to send debug messages to when enabled with the
+.Fl d
+flag.
 .It Fl h
 Show help text.
 .It Fl K

Reply via email to