summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-20 15:21:47 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-20 15:21:47 +0000
commitfb10daeba26f0f91b3c086140069605728d4fb8c (patch)
tree4656ebf52fe9a24a5e577f9c147d85335b624f42
parent9939b753fc346f613f8b39532673683fed1f80ac (diff)
downloaddrakx-fb10daeba26f0f91b3c086140069605728d4fb8c.tar
drakx-fb10daeba26f0f91b3c086140069605728d4fb8c.tar.gz
drakx-fb10daeba26f0f91b3c086140069605728d4fb8c.tar.bz2
drakx-fb10daeba26f0f91b3c086140069605728d4fb8c.tar.xz
drakx-fb10daeba26f0f91b3c086140069605728d4fb8c.zip
really ask dhcp domain if not guessed
-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 ef66ddb40..163bafe5c 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -542,7 +542,7 @@ static enum return_type configure_network(struct interface_info * intf)
answers[1] = strdup(dhcp_domain);
}
- if (!dhcp_hostname || !dhcp_hostname) {
+ if (!dhcp_hostname || !dhcp_domain) {
results = ask_from_entries_auto("I could not guess hostname and domain name; please fill in this information. "
"Valid answers are for example: `mybox' for hostname and `mynetwork.com' for "
"domain name, for a machine called `mybox.mynetwork.com' on the Internet.",