about summary refs log tree commit diff
path: root/debian/patches/0012-fix-arping-path.patch
diff options
context:
space:
mode:
authorLaurent Bigonville <bigon@bigon.be>2014-10-27 11:08:02 +0100
committerLaurent Bigonville <bigon@bigon.be>2014-10-27 11:08:02 +0100
commit90ee86c0de2dd99a7c70ae9370550f62051e08b4 (patch)
treedcadefcbcfdef94627a2bad7c0400e47ef7fb98f /debian/patches/0012-fix-arping-path.patch
parentbc71a81ca8cb07abc06fb912cc2bc826ca063da4 (diff)
Fix arping patch and add iputils-arping to the Recommends (Closes:#755039)
Diffstat (limited to 'debian/patches/0012-fix-arping-path.patch')
-rw-r--r--debian/patches/0012-fix-arping-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/0012-fix-arping-path.patch b/debian/patches/0012-fix-arping-path.patch
new file mode 100644
index 00000000..28a5ddda
--- /dev/null
+++ b/debian/patches/0012-fix-arping-path.patch
@@ -0,0 +1,11 @@
+--- a/src/devices/nm-device.c
++++ b/src/devices/nm-device.c
+@@ -4429,7 +4429,7 @@ start_sharing (NMDevice *self, NMIP4Conf
+ static void
+ send_arps (NMDevice *self, const char *mode_arg)
+ {
+-	const char *argv[] = { "/sbin/arping", mode_arg, "-q", "-I", nm_device_get_ip_iface (self), "-c", "1", NULL, NULL };
++	const char *argv[] = { "/usr/bin/arping", mode_arg, "-q", "-I", nm_device_get_ip_iface (self), "-c", "1", NULL, NULL };
+ 	int ip_arg = G_N_ELEMENTS (argv) - 2;
+ 	NMConnection *connection;
+ 	NMSettingIP4Config *s_ip4;