summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakconnect')
-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 a130faf9e..2e54dc215 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -348,7 +348,7 @@ sub build_notebook {
if ($is_ethernet) {
my $proto = $gui->{intf}{BOOTPROTO};
$proto->{protocols} = { static => N("static"), dhcp => N_("DHCP") };
- $proto->set_popdown_strings(values %{$proto->{protocols}});
+ $proto->set_popdown_strings(@{$proto->{protocols}}{qw(dhcp static)});
$proto->set_text($proto->{protocols}{$intf->{BOOTPROTO}});
} else {
$_->set_sensitive(0) foreach $gui->{intf}{IPADDR}, $gui->{intf}{NETMASK};