about summary refs log tree commit diff
path: root/src/platform/nm-platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/nm-platform.c')
-rw-r--r--src/platform/nm-platform.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index d5ee48d4..5a399b31 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -1378,6 +1378,18 @@ nm_platform_link_get_master (NMPlatform *self, int slave)
 
 /*****************************************************************************/
 
+gboolean
+nm_platform_link_can_assume (NMPlatform *self, int ifindex)
+{
+	_CHECK_SELF (self, klass, FALSE);
+
+	if (klass->link_can_assume)
+		return klass->link_can_assume (self, ifindex);
+	g_return_val_if_reached (FALSE);
+}
+
+/*****************************************************************************/
+
 /**
  * nm_platform_link_get_lnk:
  * @self: the platform instance