summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2008-10-20 09:58:17 +0000
committerjmc <jmc@openbsd.org>2008-10-20 09:58:17 +0000
commit2fe3d0fd100812907b71c5262895af5f49fe67d0 (patch)
tree2e8a7986bee44e3e011855fc5e6f42ddbc0f4e50
parentoops, assign errno the right way. caught by david running regress tests (diff)
downloadwireguard-openbsd-2fe3d0fd100812907b71c5262895af5f49fe67d0.tar.xz
wireguard-openbsd-2fe3d0fd100812907b71c5262895af5f49fe67d0.zip
add an example of how to scan for wireless networks, since it is not
immediately obvious from reading the main text or the wireless pages; i killed the "ifconfig gif1 destroy" example to do this, since i want to keep EXAMPLES relatively short, and we already provide an example of how to create an interface;
-rw-r--r--sbin/ifconfig/ifconfig.88
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index df08bd5e7bf..79e75dd1280 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.171 2008/09/30 13:11:48 deraadt Exp $
+.\" $OpenBSD: ifconfig.8,v 1.172 2008/10/20 09:58:17 jmc Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: September 30 2008 $
+.Dd $Mdocdate: October 20 2008 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -1214,9 +1214,9 @@ Create the gif1 network interface:
.Pp
.Dl # ifconfig gif1 create
.Pp
-Destroy the gif1 network interface:
+Scan for wireless networks using bwi0:
.Pp
-.Dl # ifconfig gif1 destroy
+.Dl # ifconfig bwi0 chan
.Sh DIAGNOSTICS
Messages indicating the specified interface does not exist, the
requested address is unknown, or the user is not privileged and