aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcp/01-dhclient-script-fix-bare-ip.patch
blob: 7b3165d87503ab6ade7cb51f67ec4dc19c5e8324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/client/scripts/linux b/client/scripts/linux
index 0c42969..3cd2a75 100755
--- a/client/scripts/linux
+++ b/client/scripts/linux
@@ -394,7 +394,7 @@ case "$reason" in
             make_resolv_conf
         else
             # flush all IPs from interface
-            ip -4 addr flush dev ${interface}
+            ${ip} -4 addr flush dev ${interface}
             exit_with_hooks 2
         fi