summaryrefslogtreecommitdiff
path: root/sbin/wicontrol/wicontrol.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-17 21:57:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-17 21:57:41 +0000
commita41b696354f727bffafc9e878dfa7ea42783243c (patch)
treecd8235e53cc0888372dd416328b52b6fb59d991c /sbin/wicontrol/wicontrol.c
parentb4fb20f2d2e830b7e2284d85d51d5efd81633269 (diff)
make interface optional, and provide a good default
Diffstat (limited to 'sbin/wicontrol/wicontrol.c')
-rw-r--r--sbin/wicontrol/wicontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/wicontrol/wicontrol.c b/sbin/wicontrol/wicontrol.c
index e71757baec5..2ee82f75aa2 100644
--- a/sbin/wicontrol/wicontrol.c
+++ b/sbin/wicontrol/wicontrol.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wicontrol.c,v 1.10 2000/08/16 17:39:56 millert Exp $ */
+/* $OpenBSD: wicontrol.c,v 1.11 2000/08/17 21:57:40 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -66,7 +66,7 @@
static const char copyright[] = "@(#) Copyright (c) 1997, 1998, 1999\
Bill Paul. All rights reserved.";
static const char rcsid[] =
- "@(#) $Id: wicontrol.c,v 1.10 2000/08/16 17:39:56 millert Exp $";
+ "@(#) $Id: wicontrol.c,v 1.11 2000/08/17 21:57:40 deraadt Exp $";
#endif
static void wi_getval __P((char *, struct wi_req *));
@@ -640,7 +640,7 @@ int main(argc, argv)
int argc;
char *argv[];
{
- char *iface = NULL;
+ char *iface = "wi0";
int ch, p, dumpstats = 0, dumpinfo = 1;
if (argc > 1 && argv[1][0] != '-') {