diff options
| author | Michael Biebl <biebl@debian.org> | 2017-01-17 22:02:05 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-01-17 22:02:05 +0100 |
| commit | bd65d9b350b4ff051ea34141c124353b35d51e0f (patch) | |
| tree | 1e95539f7c250c2e792ed318995e09133518019c /debian/patches/Fix-arping-path.patch | |
| parent | e8246ca9b202e4b4b04702c86e323d3eb5937c68 (diff) | |
Rebase patches
Diffstat (limited to 'debian/patches/Fix-arping-path.patch')
| -rw-r--r-- | debian/patches/Fix-arping-path.patch | 38 |
1 files changed, 38 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..a51faf85 --- /dev/null +++ b/debian/patches/Fix-arping-path.patch @@ -0,0 +1,38 @@ +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-arping-manager.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/devices/nm-arping-manager.c b/src/devices/nm-arping-manager.c +index 7b765844a..59f0faed5 100644 +--- a/src/devices/nm-arping-manager.c ++++ b/src/devices/nm-arping-manager.c +@@ -222,7 +222,7 @@ nm_arping_manager_start_probe (NMArpingManager *self, guint timeout, GError **er + + priv->completed = 0; + +- argv[0] = nm_utils_find_helper ("arping", NULL, NULL); ++ argv[0] = nm_utils_find_helper ("arping", "/usr/bin/arping", NULL); + if (!argv[0]) { + g_set_error_literal (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_FAILED, + "arping could not be found"); +@@ -342,7 +342,7 @@ send_announcements (NMArpingManager *self, const char *mode_arg) + 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 ("arping could not be found; no ARPs will be sent"); + return; |