From 289a674b450b2ea2ddbd02577c88d8db44e02403 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 3 Dec 2002 14:55:53 +0000 Subject: gcsux --- mdk-stage1/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index e6df5ac52..7cd4da6d8 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -468,7 +468,7 @@ static enum return_type configure_network(struct interface_info * intf) if (dnshostname) { if (intf->boot_proto == BOOTPROTO_STATIC) hostname = strdup(dnshostname); - domain = strchr(strdup(hostname), '.') + 1; + domain = strchr(strdup(dnshostname), '.') + 1; log_message("got hostname and domain from dns entry, %s and %s", dnshostname, domain); return RETURN_OK; } -- cgit v1.2.1