Blame SOURCES/0022-connectivity-ip-iface-check-rh1459932.patch

fc9aca
From 1e8d7050a7d115faf78c1a7531195358c9919bf0 Mon Sep 17 00:00:00 2001
fc9aca
From: Beniamino Galvani <bgalvani@redhat.com>
fc9aca
Date: Thu, 8 Jun 2017 00:23:05 +0200
fc9aca
Subject: [PATCH 1/1] device: check connectivity on the IP interface
fc9aca
fc9aca
curl must bind to the interface that has IP configuration, not the
fc9aca
underlying device. Without this commit, connectivity check fails on
fc9aca
certain connection types (PPPoE, WWAN).
fc9aca
fc9aca
Fixes: 9d43869e473b47542520c807dace93a6f9520964
fc9aca
(cherry picked from commit c66995ad4ddbe44cbbb4d4d56a48420be6d483cf)
fc9aca
(cherry picked from commit dc1c8c22cc8034fe4c257d43b3c31196e9899326)
fc9aca
---
fc9aca
 src/devices/nm-device.c | 2 +-
fc9aca
 1 file changed, 1 insertion(+), 1 deletion(-)
fc9aca
fc9aca
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
fc9aca
index f5eb71d..a804771 100644
fc9aca
--- a/src/devices/nm-device.c
fc9aca
+++ b/src/devices/nm-device.c
fc9aca
@@ -1858,7 +1858,7 @@ nm_device_check_connectivity (NMDevice *self,
fc9aca
 
fc9aca
 		/* Kick off a real connectivity check. */
fc9aca
 		nm_connectivity_check_async (nm_connectivity_get (),
fc9aca
-		                             nm_device_get_iface (self),
fc9aca
+		                             nm_device_get_ip_iface (self),
fc9aca
 		                             concheck_cb,
fc9aca
 		                             data);
fc9aca
 		return;
fc9aca
-- 
fc9aca
2.9.4
fc9aca