-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 9 Dec 2009, Ales Kozumplik wrote:
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.
---
isys/iface.h | 2 +-
loader/net.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/isys/iface.h b/isys/iface.h
index 3f97935..820d10b 100644
--- a/isys/iface.h
+++ b/isys/iface.h
@@ -29,7 +29,7 @@
#include <glib.h>
/* Enumerated types used in iface.c as well as loader's network code */
-enum { IPUNUSED, IPV4, IPV6 };
+enum { IPUNUSED = -1, IPV4, IPV6 };
enum { IPV4_UNUSED_METHOD, IPV4_DHCP_METHOD, IPV4_MANUAL_METHOD, IPV4_IBFT_METHOD, IPV4_IBFT_DHCP_METHOD };
enum { IPV6_UNUSED_METHOD, IPV6_AUTO_METHOD, IPV6_DHCP_METHOD,
diff --git a/loader/net.c b/loader/net.c
index c3a6a75..75c1872 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -929,7 +929,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 */
This one is good to go now. I didn't catch you before you left for the day,
so I did a git am on this email so it's in master now.
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
iEYEARECAAYFAktGKsgACgkQ5hsjjIy1VklDlACfTzCeza9qluPwAkXqoCvuiOwM
gxEAn1UyP+QohexgDEbOm5E8Y1DpbBPZ
=X6af
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list