summaryrefslogtreecommitdiffstats
path: root/lib/network/netconnect.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-25 14:54:41 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-25 14:54:41 +0000
commit4cf8e149729b8a76ae5ec93f078d2eea43f9af9c (patch)
tree9be49b161e50c8783c8f1a17cb0457a5e0eedb40 /lib/network/netconnect.pm
parent9534590f7c7369280302724bedc736a38acb3c05 (diff)
downloaddrakx-net-4cf8e149729b8a76ae5ec93f078d2eea43f9af9c.tar
drakx-net-4cf8e149729b8a76ae5ec93f078d2eea43f9af9c.tar.gz
drakx-net-4cf8e149729b8a76ae5ec93f078d2eea43f9af9c.tar.bz2
drakx-net-4cf8e149729b8a76ae5ec93f078d2eea43f9af9c.tar.xz
drakx-net-4cf8e149729b8a76ae5ec93f078d2eea43f9af9c.zip
Show default hostname when no hostname was defined, to have visual
feedback on what will be used if user does not changes the hostname (#35143, #38557, #47364).
Diffstat (limited to 'lib/network/netconnect.pm')
-rw-r--r--lib/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index 895ed0a..e12caa2 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -265,8 +265,8 @@ If you do not know it, keep the preselected protocol.") },
pre => sub {
$address_settings = $connection->can('get_address_settings') && $connection->get_address_settings;
$connection->guess_address_settings if $connection->can('guess_address_settings');
- $hostname_settings = $connection->can('get_hostname_settings') && $connection->get_hostname_settings;
$connection->guess_hostname_settings if $connection->can('guess_hostname_settings');
+ $hostname_settings = $connection->can('get_hostname_settings') && $connection->get_hostname_settings;
},
name => sub { $net->{type}->get_type_name . "\n\n" . $connection->get_address_settings_label },
data => sub { [ @$address_settings, @$hostname_settings ] },