summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-06-08 00:23:05 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2017-06-08 11:01:05 +0200
commitc66995ad4ddbe44cbbb4d4d56a48420be6d483cf (patch)
treed70f2bf2759c03b69983304f58e9ea1d07b1ad34
parent5600a27c2aa1a69c1c72422937bfd4401217046e (diff)
downloadNetworkManager-c66995ad4ddbe44cbbb4d4d56a48420be6d483cf.tar.gz
device: check connectivity on the IP interface
curl must bind to the interface that has IP configuration, not the underlying device. Without this commit, connectivity check fails on certain connection types (PPPoE, WWAN). Fixes: 9d43869e473b47542520c807dace93a6f9520964
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index ee0c64affa..f26c85764a 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -1858,7 +1858,7 @@ nm_device_check_connectivity (NMDevice *self,
/* Kick off a real connectivity check. */
nm_connectivity_check_async (nm_connectivity_get (),
- nm_device_get_iface (self),
+ nm_device_get_ip_iface (self),
concheck_cb,
data);
return;