summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index aedb1743a..785915e82 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -801,8 +801,10 @@ notation (for example, 1.2.3.4).")),
{ text => N("Track network card id (useful for laptops)"), val => \$track_network_id, type => "bool" },
{ text => N("Network Hotplugging"), val => \$hotplug, type => "bool" },
{ text => N("Start at boot"), val => \$onboot, type => "bool" },
- { label => N("DHCP client"), val => \$netc->{dhcp_client},
- list => [ "dhcp-client", "dhcpcd", "dhcpxd" ], advanced => 1 },
+ if_($auto_ip,
+ { label => N("DHCP client"), val => \$netc->{dhcp_client},
+ list => [ "dhcp-client", "dhcpcd", "dhcpxd" ], advanced => 1 },
+ ),
],
},
complete => sub {