[PATCH] Remove XXX comment in net.c about GATEWAY

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

 



In NetworkManager-world, we want the GATEWAY to be store per device
rather than for the entire system, so what ifcfg-fedora is reading
is the correct thing to do.
---
 loader/net.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index 9c6c2f5..69f5779 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1257,10 +1257,6 @@ int writeEnabledNetInfo(iface_t *iface) {
                 fprintf(fp, "BROADCAST=%s\n", buf);
             }
 
-            /* XXX: this should not be here, but ifcfg-fedora
-             * in NM does not currently read the global
-             * /etc/sysconfig/network file.
-             */
             if (iface_have_in_addr(&iface->gateway)) {
                 if (inet_ntop(AF_INET, &iface->gateway, buf,
                               INET_ADDRSTRLEN) == NULL) {
-- 
1.6.0.3

_______________________________________________
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