summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-infiniband.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-05-06 09:53:44 -0500
committerDan Williams <dcbw@redhat.com>2015-05-06 16:14:25 -0500
commit8fa0f4690f6f97b046399e33de1d1d6d81235636 (patch)
tree31c1e7b9b7528db8f40aebb419889054621b2f38 /src/devices/nm-device-infiniband.c
parentaba250a7d4e72a7a98e6d43b1fb36689671b4855 (diff)
downloadNetworkManager-dcbw/dfa-early.tar.gz
core: let plugins indicate links which should be ignoreddcbw/dfa-early
Instead of hacky stuff in the Manager, let plugins themselves indicate which links should be ignored (because they are really child links that are controlled by a different device that the plugin handles).
Diffstat (limited to 'src/devices/nm-device-infiniband.c')
-rw-r--r--src/devices/nm-device-infiniband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-infiniband.c b/src/devices/nm-device-infiniband.c
index f9cd946d44..5e89660e7d 100644
--- a/src/devices/nm-device-infiniband.c
+++ b/src/devices/nm-device-infiniband.c
@@ -293,7 +293,7 @@ nm_device_infiniband_class_init (NMDeviceInfinibandClass *klass)
#define NM_INFINIBAND_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_INFINIBAND_FACTORY, NMInfinibandFactory))
static NMDevice *
-new_link (NMDeviceFactory *factory, NMPlatformLink *plink, GError **error)
+new_link (NMDeviceFactory *factory, NMPlatformLink *plink, gboolean *out_ignore, GError **error)
{
return (NMDevice *) g_object_new (NM_TYPE_DEVICE_INFINIBAND,
NM_DEVICE_PLATFORM_DEVICE, plink,