summaryrefslogtreecommitdiffstats
path: root/isys
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 /isys
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 'isys')
-rw-r--r--isys/iface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/iface.h b/isys/iface.h
index 3f9793552..820d10b36 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,