summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ethernet.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-ethernet.c
parentaba250a7d4e72a7a98e6d43b1fb36689671b4855 (diff)
downloadNetworkManager-8fa0f4690f6f97b046399e33de1d1d6d81235636.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-ethernet.c')
-rw-r--r--src/devices/nm-device-ethernet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c
index 114b2c9eb3..3337a106d4 100644
--- a/src/devices/nm-device-ethernet.c
+++ b/src/devices/nm-device-ethernet.c
@@ -1693,7 +1693,7 @@ nm_device_ethernet_class_init (NMDeviceEthernetClass *klass)
#define NM_ETHERNET_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_ETHERNET_FACTORY, NMEthernetFactory))
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_ETHERNET,
NM_DEVICE_PLATFORM_DEVICE, plink,