summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-16 23:07:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-16 23:07:38 +0000
commit67fac834e119eaba0d6d1cf90b0694d3a93902ad (patch)
tree339c04254bd7005ac4958d5267d8a268caa00afe /perl-install/network
parentfff03f41ff8586229a07a9ad5408247b57036c52 (diff)
downloaddrakx-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar
drakx-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar.gz
drakx-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar.bz2
drakx-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar.xz
drakx-67fac834e119eaba0d6d1cf90b0694d3a93902ad.zip
clean horrible code
Diffstat (limited to 'perl-install/network')
-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 5c1ebe5c2..c923c4ce2 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -608,7 +608,7 @@ notation (for example, 1.2.3.4).")),
],
},
complete => sub {
- $ethntf->{BOOTPROTO} = $auto_ip ? join('', if_($auto_ip, "dhcp")) : "static";
+ $ethntf->{BOOTPROTO} = $auto_ip ? "dhcp" : "static";
$netc->{DHCP} = $auto_ip;
return 0 if $auto_ip;
if (my @bad = map_index { if_(!is_ip($ethntf->{$_}), $::i) } @fields) {