summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 15:30:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 15:30:55 +0000
commit354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278 (patch)
tree15e2356f3f123de216f1d5631b0cdfeffa5bf71b
parentf471c20f7b1b7011e132f0c3600fbd90d5536949 (diff)
downloaddrakx-354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278.tar
drakx-354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278.tar.gz
drakx-354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278.tar.bz2
drakx-354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278.tar.xz
drakx-354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278.zip
fix static/dhcp step branching
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d70625007..624be843a 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -792,7 +792,7 @@ Modifying the fields below will override this configuration."),
[ { val => \$auto_ip, type => "list", list => [ values %l10n_lan_protocols ] } ];
},
post => sub {
- $auto_ip = $auto_ip eq N("Automatic IP (BOOTP/DHCP/Zeroconf)") || 0;
+ $auto_ip = $auto_ip ne $l10n_lan_protocols{static} || 0;
return 'lan_intf';
},
},