[PATCH 1/3 master f15-branch] Fix parsing of ipv6 --gateway in kickstart (#677609)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 loader/kickstart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index 89cff39..5b1a57e 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -717,7 +717,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
             loaderData->gateway = gateway;
         } else if (rc == 0) {
 #ifdef ENABLE_IPV6
-            if ((rc == inet_pton(AF_INET6, gateway, &addr6)) == 1) {
+            if ((rc = inet_pton(AF_INET6, gateway, &addr6)) == 1) {
                 loaderData->gateway6 = gateway;
             } else if (rc == 0) {
 #endif
-- 
1.7.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux