summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-12-03 14:55:53 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-12-03 14:55:53 +0000
commit289a674b450b2ea2ddbd02577c88d8db44e02403 (patch)
treea3063d591fe69bed890071085de3f39de2ab9549
parent0e49b4b5057a47c9969610226e0d88c6e8ceea47 (diff)
downloaddrakx-289a674b450b2ea2ddbd02577c88d8db44e02403.tar
drakx-289a674b450b2ea2ddbd02577c88d8db44e02403.tar.gz
drakx-289a674b450b2ea2ddbd02577c88d8db44e02403.tar.bz2
drakx-289a674b450b2ea2ddbd02577c88d8db44e02403.tar.xz
drakx-289a674b450b2ea2ddbd02577c88d8db44e02403.zip
gcsux
-rw-r--r--mdk-stage1/network.c2
1 files changed, 1 insertions, 1 deletions
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;
}