diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-29 17:26:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-29 17:26:27 +0000 |
commit | 56e34e12c0ad2a60f5f41c67d635b07264799ab3 (patch) | |
tree | c8ebabbe058501eea4622eecb49340f59ac7967a /perl-install/network/netconnect.pm | |
parent | 4515b0a29940291b8afaab8c2d178362023c7052 (diff) | |
download | drakx-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.pm | 4 |
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 } }, ) : ( |