From 7b640e17d4ac062f4339694227525ed7611ecfa5 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Wed, 5 Apr 2017 22:01:37 +0200 Subject: [PATCH] Fix path to arp --- roles/dhcpd/templates/dhcpd.conf.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/dhcpd/templates/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcpd.conf.j2 index 362a921..4782b11 100644 --- a/roles/dhcpd/templates/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcpd.conf.j2 @@ -32,14 +32,14 @@ subnet {{ batman_ipv4 | ipaddr('network') }} netmask {{ batman_ipv4 | ipaddr('ne on commit { set clip = binary-to-ascii(10, 8, ".", leased-address); set clhw = binary-to-ascii(16, 8, ":", substring(hardware, 1, 6)); - execute("/sbin/arp", "-s", clip, clhw); + execute("/usr/sbin/arp", "-s", clip, clhw); } on release { set clip = binary-to-ascii(10, 8, ".", leased-address); - execute("/sbin/arp", "-d", clip); + execute("/usr/sbin/arp", "-d", clip); } on expiry { set clip = binary-to-ascii(10, 8, ".", leased-address); - execute("/sbin/arp", "-d", clip); + execute("/usr/sbin/arp", "-d", clip); } }