summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-08 00:48:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-08 00:48:55 +0000
commit29504945aa9140512cbdbb7eecc7aa82906b0a21 (patch)
tree81cc45c9fbef494eb3434b6325ce651e2127abea /sbin
parent76a357ee429aaf9ba62520c09dff115447e4d4b9 (diff)
make failed SIOCG80211NWKEY print alert more clearly; jolan@norm.encryptedemail.net
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index d984aef9aca..f19ef016351 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.68 2002/06/19 18:53:53 millert Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.69 2002/07/08 00:48:54 deraadt Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -81,7 +81,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94";
#else
-static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.68 2002/06/19 18:53:53 millert Exp $";
+static const char rcsid[] = "$OpenBSD: ifconfig.c,v 1.69 2002/07/08 00:48:54 deraadt Exp $";
#endif
#endif /* not lint */
@@ -1273,7 +1273,7 @@ ieee80211_status()
nwkey.i_key[i].i_keylen = sizeof(keybuf[i]);
}
if (ioctl(s, SIOCG80211NWKEY, (caddr_t)&nwkey) == -1) {
- puts("*****");
+ puts("<not displayed>");
} else {
nwkey_verbose = 0;
/* check to see non default key or multiple keys defined */