diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-12 15:06:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-12 15:06:00 +0000 |
commit | 5c3ac95112dc5a1fdfff6a7dd98b77e0c6cf86c9 (patch) | |
tree | b4d431e76f3a6328336f06f257a37e99f2136ba2 /perl-install/standalone | |
parent | a673fba662091527c08518a326146c41aab56b76 (diff) | |
download | drakx-5c3ac95112dc5a1fdfff6a7dd98b77e0c6cf86c9.tar drakx-5c3ac95112dc5a1fdfff6a7dd98b77e0c6cf86c9.tar.gz drakx-5c3ac95112dc5a1fdfff6a7dd98b77e0c6cf86c9.tar.bz2 drakx-5c3ac95112dc5a1fdfff6a7dd98b77e0c6cf86c9.tar.xz drakx-5c3ac95112dc5a1fdfff6a7dd98b77e0c6cf86c9.zip |
(build_notebook) default protocol is dhcp (eg for unconfigured
interfaces), thus preventing ip checks faillure on protocol change on
other network interfaces
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
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}; |