Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/wpa/wpa_supplicant Enable CONFIG_DEBUG_FILE option ...
details: https://anonhg.NetBSD.org/src/rev/54a35e23323c
branches: trunk
changeset: 751031:54a35e23323c
user: sborrill <sborrill%NetBSD.org@localhost>
date: Fri Jan 22 16:41:57 2010 +0000
description:
Enable CONFIG_DEBUG_FILE option to allow debug messages to be sent to
a file instead of stdout.
diffstat:
usr.sbin/wpa/wpa_supplicant/Makefile | 3 ++-
usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 | 13 +++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
diffs (62 lines):
diff -r e6d07c69a4c7 -r 54a35e23323c usr.sbin/wpa/wpa_supplicant/Makefile
--- a/usr.sbin/wpa/wpa_supplicant/Makefile Fri Jan 22 16:12:41 2010 +0000
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile Fri Jan 22 16:41:57 2010 +0000
@@ -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
diff -r e6d07c69a4c7 -r 54a35e23323c usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
--- a/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 Fri Jan 22 16:12:41 2010 +0000
+++ b/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8 Fri Jan 22 16:41:57 2010 +0000
@@ -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 <sam%errno.com@localhost>
.\" 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
Home |
Main Index |
Thread Index |
Old Index