summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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) {