summaryrefslogtreecommitdiffstats
path: root/loader/net.c
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2009-12-09 08:28:00 -1000
committerDavid Cantrell <dcantrell@redhat.com>2010-01-07 08:39:16 -1000
commit7c297f855a40daf8fd0419d4212514ac98936a0f (patch)
treeb0a6bf1c695450956af4a1bf0e4d66deba204e71 /loader/net.c
parent0c7684702479de2ceaa41d22857f74bd5fd7a66d (diff)
downloadanaconda-7c297f855a40daf8fd0419d4212514ac98936a0f.tar.gz
anaconda-7c297f855a40daf8fd0419d4212514ac98936a0f.tar.xz
anaconda-7c297f855a40daf8fd0419d4212514ac98936a0f.zip
Fixes problems in the manual network configuration screen in loader with IPv6.
A crash occurs after the IPv6 GUI has been enabled when we chose to configure the network device manually. When the crash is fixed the screen still does not appear. This patch fixes both the problems.
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 */