summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-03-18 23:37:09 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-03-18 23:37:09 +0000
commitc29349cdfa98ef835ac8faad86a9e70f8b11a67f (patch)
tree0148a098e6d2165780e1c1ed9cb672b94720d58a /sbin/ifconfig/ifconfig.8
parent09583de7196cd624981b6d906c0ae5dbcc08b447 (diff)
clarify the nwkey text; requested by Doug Fordham
ok jsg
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.813
1 files changed, 9 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index ca3c7b82d0f..e348494f218 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.226 2012/02/02 12:34:37 benno Exp $
+.\" $OpenBSD: ifconfig.8,v 1.227 2012/03/18 23:37:08 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: February 2 2012 $
+.Dd $Mdocdate: March 18 2012 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -940,8 +940,13 @@ If a set of keys is specified, a comma
within the key must be escaped with a backslash.
Note that if multiple keys are used, their order must be the same within
the network.
-The length of each key must be either 40 bits, i.e. a 5-character string or
-10 hexadecimal digits or 104 bits (13-character).
+.Pp
+The length of each key must be either 40 bits for 64-bit encryption
+(5-character ASCII string
+or 10 hexadecimal digits)
+or 104 bits for 128-bit encryption
+(13-character ASCII string
+or 26 hexadecimal digits).
.It Fl nwkey
Disable WEP encryption.
.It Cm nwkey Cm persist