summaryrefslogtreecommitdiffstats
path: root/src/lib/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ip')
-rw-r--r--src/lib/ip2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ip b/src/lib/ip
index f2f787d..5caa0fc 100644
--- a/src/lib/ip
+++ b/src/lib/ip
@@ -188,7 +188,7 @@ ip_set() {
# $IP6: type of IPv6 configuration
ip_unset() {
if [[ "$IP" == "dhcp" ]]; then
- case $DHCPClient in
+ case ${DHCPClient:-dhcpcd} in
dhcpcd)
if [[ -f "/run/dhcpcd-$Interface.pid" ]]; then
do_debug dhcpcd -qk "$Interface" >/dev/null