about summary refs log tree commit diff
path: root/debian/patches/fix-arping-path.patch
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-05-06 16:52:18 +0200
committerMichael Biebl <biebl@debian.org>2015-05-06 16:52:18 +0200
commit7f23bde94f07005d22dfb577635efd096603607c (patch)
tree064b046cc59d8489310fb2001914b3e61960ad97 /debian/patches/fix-arping-path.patch
parentba0a3be4e230b7f100409f29020f7837ff335ee9 (diff)
Rebase patches.
Diffstat (limited to 'debian/patches/fix-arping-path.patch')
-rw-r--r--debian/patches/fix-arping-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/fix-arping-path.patch b/debian/patches/fix-arping-path.patch
new file mode 100644
index 00000000..d23762f3
--- /dev/null
+++ b/debian/patches/fix-arping-path.patch
@@ -0,0 +1,29 @@
+From: Laurent Bigonville <bigon@bigon.be>
+Date: Mon, 27 Oct 2014 11:08:02 +0100
+Subject: fix arping path
+
+Debian provides two arping implementations:
+/usr/sbin/arping, shipped by the arping package,
+/usr/bin/arping, shipped by the iputils-arping package.
+
+They aren't completely command line compatible, so we choose the one
+which upstream (Fedora) is using, i.e. iputils-arping.
+
+Closes: #755039
+---
+ src/devices/nm-device.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
+index 4752628..25b17b3 100644
+--- a/src/devices/nm-device.c
++++ b/src/devices/nm-device.c
+@@ -5137,7 +5137,7 @@ send_arps (NMDevice *self, const char *mode_arg)
+ 	if (num == 0)
+ 		return;
+ 
+-	argv[0] = nm_utils_find_helper ("arping", NULL, NULL);
++	argv[0] = nm_utils_find_helper ("arping", "/usr/bin/arping", NULL);
+ 	if (!argv[0]) {
+ 		_LOGW (LOGD_DEVICE | LOGD_IP4, "arping could not be found; no ARPs will be sent");
+ 		return;