summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 5272f8fa4..ba852b252 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -194,7 +194,6 @@ $window1->{window}->add(
local ($::isWizard, $::Wizard_finished) = (1, 1);
eval { # For wizcancel
configureNetworkNet($in, $netc, $intf, @all_cards);
- network::sethostname($intf);
$button_apply->set_sensitive(1);
update();
};
@@ -347,6 +346,7 @@ sub update_list() {
sub apply() {
$old_profile = $netcnx->{PROFILE} || "default";
+ network::sethostname($netc);
network::netconnect::save_conf($netcnx);
$netcnx->{type} eq 'modem' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}});