From 354dd4e0c0627f1a9f5b6a0662fc0e9a172f7278 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 29 Jan 2004 15:30:55 +0000 Subject: fix static/dhcp step branching --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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'; }, }, -- cgit v1.2.1