From 57fcd45358729423fde87e453d2fa8d909ac58b5 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 22 May 2017 18:20:28 +0200 Subject: fixup! clients: implement tun-mode property as enum --- clients/common/nm-meta-setting-desc.c | 2 ++ 1 file changed, 2 insertions(+) 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, -- cgit v1.2.1