diff options
author | Chris Lumens <clumens@redhat.com> | 2008-10-10 11:29:28 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-10-10 11:29:28 -0400 |
commit | 1619a5836c2299601af59e830ca9faa5a3395519 (patch) | |
tree | 8ff2c28151e4dd1c7b2458c3c0300950a8d76050 /loader | |
parent | 6de111707e46451f403ba18b70ea9339f61f2204 (diff) | |
download | anaconda-1619a5836c2299601af59e830ca9faa5a3395519.tar.gz anaconda-1619a5836c2299601af59e830ca9faa5a3395519.tar.xz anaconda-1619a5836c2299601af59e830ca9faa5a3395519.zip |
Disable some more IPv6 checks.
Diffstat (limited to 'loader')
-rw-r--r-- | loader/net.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/net.c b/loader/net.c index 61d7a77d0..95855990a 100644 --- a/loader/net.c +++ b/loader/net.c @@ -1057,11 +1057,13 @@ int manualNetConfig(char * device, iface_t * iface, "network mask or CIDR prefix.")); } +#ifdef ENABLE_IPV6 if (stack[IPV6] && have[IPV6] != 2) { newtWinMessage(_("Missing Information"), _("Retry"), _("You must enter both a valid IPv6 address and a " "CIDR prefix.")); } +#endif strcpy(iface->device, device); iface->flags &= ~IFACE_FLAGS_IS_DYNAMIC; @@ -1313,6 +1315,7 @@ int writeEnabledNetInfo(iface_t *iface) { fprintf(fp, "GATEWAY=%s\n", buf); } +#ifdef ENABLE_IPV6 if (iface_have_in6_addr(&iface->gateway6)) { if (inet_ntop(AF_INET6, &iface->gateway6, buf, INET6_ADDRSTRLEN) == NULL) { @@ -1321,6 +1324,7 @@ int writeEnabledNetInfo(iface_t *iface) { fprintf(fp, "IPV6_DEFAULTGW=%s\n", buf); } +#endif if (fclose(fp) == EOF) { return 12; |