summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-05-22 17:11:30 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-06-26 16:21:55 +0200
commit29636535b250ce865e913b00272d0576caf3d3f1 (patch)
tree5fe3876addbcb897e2d693409b6dd9f61863c56e /shared
parent3cd9322298b3e2aa948fd33eb018451e8d6ed639 (diff)
downloadNetworkManager-29636535b250ce865e913b00272d0576caf3d3f1.tar.gz
client: support 6lowpan setting
Diffstat (limited to 'shared')
-rw-r--r--shared/nm-meta-setting.c6
-rw-r--r--shared/nm-meta-setting.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/shared/nm-meta-setting.c b/shared/nm-meta-setting.c
index ef1daee580..b984a1ff52 100644
--- a/shared/nm-meta-setting.c
+++ b/shared/nm-meta-setting.c
@@ -23,6 +23,7 @@
#include "nm-meta-setting.h"
+#include "nm-setting-6lowpan.h"
#include "nm-setting-8021x.h"
#include "nm-setting-adsl.h"
#include "nm-setting-bluetooth.h"
@@ -146,6 +147,11 @@ const NMSetting8021xSchemeVtable nm_setting_8021x_scheme_vtable[] = {
/*****************************************************************************/
const NMMetaSettingInfo nm_meta_setting_infos[] = {
+ [NM_META_SETTING_TYPE_6LOWPAN] = {
+ .meta_type = NM_META_SETTING_TYPE_6LOWPAN,
+ .setting_name = NM_SETTING_6LOWPAN_SETTING_NAME,
+ .get_setting_gtype = nm_setting_6lowpan_get_type,
+ },
[NM_META_SETTING_TYPE_802_1X] = {
.meta_type = NM_META_SETTING_TYPE_802_1X,
.setting_name = NM_SETTING_802_1X_SETTING_NAME,
diff --git a/shared/nm-meta-setting.h b/shared/nm-meta-setting.h
index ca77cfdc23..e8d4db9c92 100644
--- a/shared/nm-meta-setting.h
+++ b/shared/nm-meta-setting.h
@@ -56,6 +56,7 @@ extern const NMSetting8021xSchemeVtable nm_setting_8021x_scheme_vtable[_NM_SETTI
/*****************************************************************************/
typedef enum {
+ NM_META_SETTING_TYPE_6LOWPAN,
NM_META_SETTING_TYPE_802_1X,
NM_META_SETTING_TYPE_ADSL,
NM_META_SETTING_TYPE_BLUETOOTH,