summaryrefslogtreecommitdiffstats
path: root/loader/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/net.c')
-rw-r--r--loader/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c
index cc8b33165..9ecfeab81 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -983,7 +983,7 @@ int manualNetConfig(char * device, iface_t * iface,
}
/* run the form */
- while ((have[IPV4] != 2) && (have[IPV6] != 2)) {
+ while ((have[IPV4] != 2) || (have[IPV6] != 2)) {
answer = newtRunForm(f);
/* collect IPv4 data */