about summary refs log tree commit diff
path: root/src/libnm-core-impl/nm-meta-setting-base-impl.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-01-13 22:30:39 +0100
committerMichael Biebl <biebl@debian.org>2022-01-13 22:30:39 +0100
commit88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (patch)
tree71f32df6617802270e8a78574bd8e1637dc532f4 /src/libnm-core-impl/nm-meta-setting-base-impl.c
parente74c568b07b50b97873fb4ee1d776dedefbd54d6 (diff)
New upstream version 1.34.0 upstream/1.34.0
Diffstat (limited to 'src/libnm-core-impl/nm-meta-setting-base-impl.c')
-rw-r--r--src/libnm-core-impl/nm-meta-setting-base-impl.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/libnm-core-impl/nm-meta-setting-base-impl.c b/src/libnm-core-impl/nm-meta-setting-base-impl.c
index a952ced9..8c1ad10e 100644
--- a/src/libnm-core-impl/nm-meta-setting-base-impl.c
+++ b/src/libnm-core-impl/nm-meta-setting-base-impl.c
@@ -8,7 +8,7 @@
 #include "nm-meta-setting-base.h"
 
 #if _NM_META_SETTING_BASE_IMPL_LIBNM
-    #include "libnm-core-impl/nm-default-libnm-core.h"
+#include "libnm-core-impl/nm-default-libnm-core.h"
 #endif
 
 #include "nm-setting-6lowpan.h"
@@ -16,6 +16,7 @@
 #include "nm-setting-adsl.h"
 #include "nm-setting-bluetooth.h"
 #include "nm-setting-bond.h"
+#include "nm-setting-bond-port.h"
 #include "nm-setting-bridge-port.h"
 #include "nm-setting-bridge.h"
 #include "nm-setting-cdma.h"
@@ -64,7 +65,7 @@
 #include "nm-setting-wpan.h"
 
 #if _NM_META_SETTING_BASE_IMPL_LIBNM
-    #include "nm-setting-private.h"
+#include "nm-setting-private.h"
 #endif
 
 /*****************************************************************************/
@@ -190,6 +191,13 @@ const NMMetaSettingInfo nm_meta_setting_infos[] = {
             .setting_name      = NM_SETTING_BOND_SETTING_NAME,
             .get_setting_gtype = nm_setting_bond_get_type,
         },
+    [NM_META_SETTING_TYPE_BOND_PORT] =
+        {
+            .meta_type         = NM_META_SETTING_TYPE_BOND_PORT,
+            .setting_priority  = NM_SETTING_PRIORITY_AUX,
+            .setting_name      = NM_SETTING_BOND_PORT_SETTING_NAME,
+            .get_setting_gtype = nm_setting_bond_port_get_type,
+        },
     [NM_META_SETTING_TYPE_BRIDGE] =
         {
             .meta_type         = NM_META_SETTING_TYPE_BRIDGE,
@@ -568,6 +576,7 @@ const NMMetaSettingType nm_meta_setting_types_by_priority[] = {
     NM_META_SETTING_TYPE_SRIOV,
 
     /* NM_SETTING_PRIORITY_AUX  */
+    NM_META_SETTING_TYPE_BOND_PORT,
     NM_META_SETTING_TYPE_BRIDGE_PORT,
     NM_META_SETTING_TYPE_ETHTOOL,
     NM_META_SETTING_TYPE_MATCH,