diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-08 00:23:05 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-08 11:23:07 +0200 |
commit | dc1c8c22cc8034fe4c257d43b3c31196e9899326 (patch) | |
tree | 7521a1b85b0e75dbc26270b2e1e89f43d61aa653 | |
parent | a3a792dd2253085933ca03e3cb61c37a44a6d304 (diff) | |
download | NetworkManager-dc1c8c22cc8034fe4c257d43b3c31196e9899326.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
(cherry picked from commit c66995ad4ddbe44cbbb4d4d56a48420be6d483cf)
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index f351bbc2d9..3f30c94967 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; |