diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-12-03 14:55:53 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-12-03 14:55:53 +0000 |
commit | 289a674b450b2ea2ddbd02577c88d8db44e02403 (patch) | |
tree | a3063d591fe69bed890071085de3f39de2ab9549 /mdk-stage1 | |
parent | 0e49b4b5057a47c9969610226e0d88c6e8ceea47 (diff) | |
download | drakx-backup-do-not-use-289a674b450b2ea2ddbd02577c88d8db44e02403.tar drakx-backup-do-not-use-289a674b450b2ea2ddbd02577c88d8db44e02403.tar.gz drakx-backup-do-not-use-289a674b450b2ea2ddbd02577c88d8db44e02403.tar.bz2 drakx-backup-do-not-use-289a674b450b2ea2ddbd02577c88d8db44e02403.tar.xz drakx-backup-do-not-use-289a674b450b2ea2ddbd02577c88d8db44e02403.zip |
gcsux
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/network.c | 2 |
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; } |