diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-05-22 18:20:28 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-05-22 18:20:28 +0200 |
commit | 57fcd45358729423fde87e453d2fa8d909ac58b5 (patch) | |
tree | a5ede5e57224b710f7b2a2c277d8564751b8e56a | |
parent | bf18b167881f94dde1f99586bbef83f39fb154d5 (diff) | |
download | NetworkManager-th/clients-meta-cleanup-bgo782943.tar.gz |
fixup! clients: implement tun-mode property as enumth/clients-meta-cleanup-bgo782943
-rw-r--r-- | clients/common/nm-meta-setting-desc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c index a6a05a06a9..5fba9d4c75 100644 --- a/clients/common/nm-meta-setting-desc.c +++ b/clients/common/nm-meta-setting-desc.c @@ -5963,6 +5963,8 @@ static const NMMetaPropertyInfo *const property_infos_TUN[] = { .property_type = &_pt_gobject_enum, .property_typ_data = DEFINE_PROPERTY_TYP_DATA_SUBTYPE (gobject_enum, .get_gtype = nm_setting_tun_mode_get_type, + .min = NM_SETTING_TUN_MODE_UNKNOWN + 1, + .max = G_MAXINT, ), ), PROPERTY_INFO_WITH_DESC (NM_SETTING_TUN_OWNER, |