1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From: Laurent Bigonville <bigon@bigon.be>
Date: Mon, Oct 27 11:08:02 2014 +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
--- 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;
|