[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Remove XXX comment in net.c about GATEWAY
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Remove XXX comment in net.c about GATEWAY
- Date: Fri, 5 Dec 2008 20:12:58 -1000
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]