summaryrefslogtreecommitdiffstats
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
parentfff03f41ff8586229a07a9ad5408247b57036c52 (diff)
downloaddrakx-backup-do-not-use-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar
drakx-backup-do-not-use-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar.gz
drakx-backup-do-not-use-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar.bz2
drakx-backup-do-not-use-67fac834e119eaba0d6d1cf90b0694d3a93902ad.tar.xz
drakx-backup-do-not-use-67fac834e119eaba0d6d1cf90b0694d3a93902ad.zip
clean horrible code
-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) {