Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/wiconfig when setting the key, don't dump interface...
details: https://anonhg.NetBSD.org/src/rev/6155b44036f4
branches: trunk
changeset: 485762:6155b44036f4
user: explorer <explorer%NetBSD.org@localhost>
date: Thu May 04 21:19:12 2000 +0000
description:
when setting the key, don't dump interface stats too.
diffstat:
usr.sbin/wiconfig/wiconfig.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r ca27af5e1235 -r 6155b44036f4 usr.sbin/wiconfig/wiconfig.c
--- a/usr.sbin/wiconfig/wiconfig.c Thu May 04 20:34:14 2000 +0000
+++ b/usr.sbin/wiconfig/wiconfig.c Thu May 04 21:19:12 2000 +0000
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: wiconfig.c,v 1.3 2000/03/26 08:58:11 itojun Exp $
+ * $Id: wiconfig.c,v 1.4 2000/05/04 21:19:12 explorer Exp $
*/
#include <sys/types.h>
@@ -67,7 +67,7 @@
static const char copyright[] = "@(#) Copyright (c) 1997, 1998, 1999\
Bill Paul. All rights reserved.";
static const char rcsid[] =
- "@(#) $Id: wiconfig.c,v 1.3 2000/03/26 08:58:11 itojun Exp $";
+ "@(#) $Id: wiconfig.c,v 1.4 2000/05/04 21:19:12 explorer Exp $";
#endif
static void wi_getval __P((char *, struct wi_req *));
@@ -727,8 +727,10 @@
if (iface == NULL)
usage(p);
- if (key != NULL)
+ if (key != NULL) {
wi_setkeys(iface, key, modifier);
+ exit(0);
+ }
wi_dumpinfo(iface);
Home |
Main Index |
Thread Index |
Old Index