summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-10-28 16:18:41 +0000
committerjoe <joe@FreeBSD.org>2000-10-28 16:18:41 +0000
commitaf22c2e96e5e8afab635cc207929e943785c6746 (patch)
treeba5e31d3b2d2f0c1179134d65403e7aa751db6b2 /usr.sbin
parent3d348198c83008d26ba78f0ac97a9b634b568650 (diff)
downloadFreeBSD-src-af22c2e96e5e8afab635cc207929e943785c6746.zip
FreeBSD-src-af22c2e96e5e8afab635cc207929e943785c6746.tar.gz
When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface isn't specified first before any of the options. Inspired by PR: bin/22241
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/wicontrol/wicontrol.83
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/wicontrol/wicontrol.8 b/usr.sbin/wicontrol/wicontrol.8
index 4f94a49..1c57211 100644
--- a/usr.sbin/wicontrol/wicontrol.8
+++ b/usr.sbin/wicontrol/wicontrol.8
@@ -101,7 +101,8 @@ The
argument given to
.Nm
should be the logical interface name associated with the WaveLAN/IEEE
-device (wi0, wi1, etc...).
+device (wi0, wi1, etc...). If none is specified then wi0 is used
+as default.
.Sh OPTIONS
The options are as follows:
.Bl -tag -width Fl
OpenPOWER on IntegriCloud