mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-27 01:10:42 +01:00
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.
This commit is contained in:
parent
c1e40a4f39
commit
4e51e844d9
1 changed files with 4 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue