Displaying 1 result from an estimated 1 matches for "postprocess_device".
2011 Jun 08
1
[PATCH] Don't try to guess the nameserver in ipconfig.
...mt.net>
---
usr/kinit/ipconfig/main.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index 4833bb7..0fd35c1 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -176,11 +176,6 @@ static void postprocess_device(struct netdev *dev)
printf("IP-Config: %s guessed broadcast address %s\n",
dev->name, my_inet_ntoa(dev->ip_broadcast));
}
- if (dev->ip_nameserver[0] == INADDR_ANY) {
- dev->ip_nameserver[0] = dev->ip_server;
- printf("IP-Config: %s guessed nameserver...