pacho       14/10/13 20:47:33

  Added:                networkmanager-0.9.10.0-arpingpath.patch
  Log:
  Ifnet plugin is now disabled because of it being unattended and unmaintained 
for a long time, leading to some unfixed bugs and new problems appearing 
(#443596, #458274, #493370, #498372, #523700). If some day somebody volunteers 
for fixing/maintaining that plugin and forwarding all that fixes to upstream it 
could be re-enabled of course. Append configure option regarding systemd unit 
files install path only when systemd support is enabled to prevent HAVE_SYSTEMD 
to be true (#524534 by Konstantin Ivanov). Ensure arping is found (#523632 by 
Kobboi).
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.1                  
net-misc/networkmanager/files/networkmanager-0.9.10.0-arpingpath.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/files/networkmanager-0.9.10.0-arpingpath.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/networkmanager/files/networkmanager-0.9.10.0-arpingpath.patch?rev=1.1&content-type=text/plain

Index: networkmanager-0.9.10.0-arpingpath.patch
===================================================================
Source: Timo Gurr <[email protected]>
Upstream: Reported, https://bugzilla.gnome.org/show_bug.cgi?id=734131
Reason: fix hardcoded path to arping

diff -Naur NetworkManager-0.9.10.0.old/src/devices/nm-device.c 
NetworkManager-0.9.10.0/src/devices/nm-device.c
--- NetworkManager-0.9.10.0.old/src/devices/nm-device.c 2014-07-04 
02:44:19.000000000 +0200
+++ NetworkManager-0.9.10.0/src/devices/nm-device.c     2014-09-01 
17:35:29.656282068 +0200
@@ -4429,7 +4429,7 @@
 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[] = { "/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;




Reply via email to