summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/ethernet.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 47ff49b..0450149 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -7,7 +7,7 @@ use lib qw(/usr/lib/libDrakX); # helps perl_checker
use common;
use network::tools;
-our @dhcp_clients = qw(dhcpcd pump dhcpxd);
+our @dhcp_clients = qw(dhclient dhcpcd pump dhcpxd);
sub get_type_name() { N("Ethernet") }
sub get_type_description() { N("Wired (Ethernet)") }
@@ -318,7 +318,7 @@ use run_program;
sub install_dhcp_client {
my ($in, $client) = @_;
my %packages = (
- "dhcpcd" => "dhcpcd",
+ "dhclient" => "dhcp-client",
);
#- use default dhcp client if none is provided
$client ||= $dhcp_clients[0];