Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 10:41:41 +0000
From:      Tony Finch <dot@dotat.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/22241: make wicontrol default to wi0
Message-ID:  <E13nf2z-0000Ch-00@hand.dotat.at>

next in thread | raw e-mail | index | archive | help

>Number:         22241
>Category:       bin
>Synopsis:       make wicontrol default to wi0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 23 03:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Tony Finch <dot@dotat.at>
>Release:        FreeBSD 4.1.1-STABLE-20001015 i386
>Organization:
dotat
>Environment:


>Description:

`wicontrol` requires a -i argument, although in the vast majority of cases
it is -i wi0. I think that should be a default.

>How-To-Repeat:


>Fix:


Index: wicontrol.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/wicontrol/wicontrol.c,v
retrieving revision 1.9.2.2
diff -u -r1.9.2.2 wicontrol.c
--- wicontrol.c	2000/09/21 00:26:59	1.9.2.2
+++ wicontrol.c	2000/10/23 10:36:26
@@ -795,7 +795,7 @@
 	}
 
 	if (iface == NULL)
-		usage(p);
+		iface = "wi0";
 
 	if (key != NULL) {
 		wi_setkeys(iface, key, modifier);

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13nf2z-0000Ch-00>