summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 17:26:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 17:26:27 +0000
commit56e34e12c0ad2a60f5f41c67d635b07264799ab3 (patch)
treec8ebabbe058501eea4622eecb49340f59ac7967a /perl-install/network/netconnect.pm
parent4515b0a29940291b8afaab8c2d178362023c7052 (diff)
downloaddrakx-56e34e12c0ad2a60f5f41c67d635b07264799ab3.tar
drakx-56e34e12c0ad2a60f5f41c67d635b07264799ab3.tar.gz
drakx-56e34e12c0ad2a60f5f41c67d635b07264799ab3.tar.bz2
drakx-56e34e12c0ad2a60f5f41c67d635b07264799ab3.tar.xz
drakx-56e34e12c0ad2a60f5f41c67d635b07264799ab3.zip
simplify
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index b15b3e3ff..e8015d0b2 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -819,8 +819,8 @@ notation (for example, 1.2.3.4).")),
data => sub {
[ $auto_ip ?
(
- { text => N("Assign host name from DHCP address"), val => \$needhostname, type => "bool", disabled => sub { ! $auto_ip } },
- { label => N("DHCP host name"), val => \$ethntf->{DHCP_HOSTNAME}, disabled => sub { ! ($auto_ip && $needhostname) } },
+ { text => N("Assign host name from DHCP address"), val => \$needhostname, type => "bool" },
+ { label => N("DHCP host name"), val => \$ethntf->{DHCP_HOSTNAME}, disabled => sub { !$needhostname } },
)
:
(