diff options
author | Thomas Haller <thaller@redhat.com> | 2019-08-09 08:52:45 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-08-16 08:16:02 +0200 |
commit | 4e51e844d9ac4a2a7f556891c24170a2808eb71e (patch) | |
tree | 6577abb1bdf1157767339424d72bb4f03856987f /libnm-core | |
parent | c1e40a4f39da03ff2a398830bbf6d2c3d59b24e3 (diff) | |
download | NetworkManager-4e51e844d9ac4a2a7f556891c24170a2808eb71e.tar.gz |
libnm: fix NMSetting8021xAuthFlags to be a flags type
This is an API break, but probably not too bad. A lot of
things when using the type will work as before.
Diffstat (limited to 'libnm-core')
-rw-r--r-- | libnm-core/nm-setting-8021x.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-8021x.h b/libnm-core/nm-setting-8021x.h index 5a5ae65042..f811c60ec7 100644 --- a/libnm-core/nm-setting-8021x.h +++ b/libnm-core/nm-setting-8021x.h @@ -84,9 +84,12 @@ typedef enum { /*< underscore_name=nm_setting_802_1x_ck_scheme >*/ * #NMSetting8021xAuthFlags values indicate which authentication settings * should be used. * + * Before 1.22, this was wrongly marked as a enum and not as a flags + * type. + * * Since: 1.8 */ -typedef enum { /*< underscore_name=nm_setting_802_1x_auth_flags >*/ +typedef enum { /*< flags, underscore_name=nm_setting_802_1x_auth_flags >*/ NM_SETTING_802_1X_AUTH_FLAGS_NONE = 0, NM_SETTING_802_1X_AUTH_FLAGS_TLS_1_0_DISABLE = 0x1, NM_SETTING_802_1X_AUTH_FLAGS_TLS_1_1_DISABLE = 0x2, |