summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-06-23 16:49:37 +0000
committerMatt Wilson <msw@redhat.com>1999-06-23 16:49:37 +0000
commit385bfb3cc29e6587d83ff12e7c95a09a2bf05f50 (patch)
treee2cc8775a756310e5a57219445323410c2149049 /loader
parent8bb6e57332c161ec81be82d160414d9d79052e9e (diff)
downloadanaconda-385bfb3cc29e6587d83ff12e7c95a09a2bf05f50.tar.gz
anaconda-385bfb3cc29e6587d83ff12e7c95a09a2bf05f50.tar.xz
anaconda-385bfb3cc29e6587d83ff12e7c95a09a2bf05f50.zip
removed double route entry
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 38ea5f28f..96d5205aa 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -70,7 +70,7 @@ static int configureNetDevice(struct intfInfo * intf) {
memcpy(&ia, &intf->network, sizeof(intf->network));
strcpy(nw, inet_ntoa(ia));
- printf("configuring %s ip: %s nm: %s nw: %s bc: %s", intf->device,
+ printf("configuring %s ip: %s nm: %s nw: %s bc: %s\n", intf->device,
ip, nm, nw, bc);
s = socket(AF_INET, SOCK_DGRAM, 0);
@@ -123,6 +123,7 @@ static int configureNetDevice(struct intfInfo * intf) {
return 1;
}
+#if 0 /* kernel 2.0 only */
memset(&route, 0, sizeof(route));
route.rt_dev = intf->device;
route.rt_flags = RTF_UP;
@@ -139,7 +140,8 @@ static int configureNetDevice(struct intfInfo * intf) {
return 1;
}
-
+#endif
+
intf->isUp = 1;
return 0;