diff options
| author | Michael Biebl <biebl@debian.org> | 2016-04-06 00:47:13 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-04-06 00:47:13 +0200 |
| commit | 45bb35bff2a8d258aff2c1d9b68cce1787c7da62 (patch) | |
| tree | e9da08b1d189befb839889185b4f3304d389a60f /src/platform/nm-platform.c | |
| parent | d101696d539cd03172badbcde19e9a13e5707ee1 (diff) | |
| parent | 2bfb3eb7d0323e69affca154395f51d8b577414d (diff) | |
Merge tag 'upstream/1.1.93'
Upstream version 1.1.93
Diffstat (limited to 'src/platform/nm-platform.c')
| -rw-r--r-- | src/platform/nm-platform.c | 12 |
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 |