From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/dhcp/01-dhclient-script-fix-bare-ip.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 repo/dhcp/01-dhclient-script-fix-bare-ip.patch (limited to 'repo/dhcp/01-dhclient-script-fix-bare-ip.patch') diff --git a/repo/dhcp/01-dhclient-script-fix-bare-ip.patch b/repo/dhcp/01-dhclient-script-fix-bare-ip.patch new file mode 100644 index 0000000..7b3165d --- /dev/null +++ b/repo/dhcp/01-dhclient-script-fix-bare-ip.patch @@ -0,0 +1,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 + -- cgit v1.2.1