From 3da83175e0edad4113ae5ee0c08c36b29e8569eb Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 29 Sep 2006 09:56:04 +0000 Subject: [PATCH] If we ask "is any of these interfaces connected?" we want the answer to be "yes", and abort if it is "no" - not vice versa. XXX - when returning to the utilities menu loop, the menu message should be output again, I think. I couldn't figure out how that is supposed to be done though. --- distrib/utils/sysinst/net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distrib/utils/sysinst/net.c b/distrib/utils/sysinst/net.c index 11b198073e69..ea8e51e68506 100644 --- a/distrib/utils/sysinst/net.c +++ b/distrib/utils/sysinst/net.c @@ -1,4 +1,4 @@ -/* $NetBSD: net.c,v 1.110 2006/08/19 21:18:40 martin Exp $ */ +/* $NetBSD: net.c,v 1.111 2006/09/29 09:56:04 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -516,8 +516,8 @@ config_network(void) /* active interfaces found */ msg_display(MSG_netup, net_up); process_menu(MENU_yesno, NULL); - if (yesno) - return 1; + if (!yesno) + return 0; } if (net_devices == NULL) {