mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 20:45:32 +00:00
capabilities: fix number for NM_CAPABILITY_TEAM
The enum defines should name their numerical value explicitly, so that it can be easily seen by looking at the code. Also, they are public, stable API. They must not change. Anyway, the capability 0 shall be reserved. Change NM_CAPABILITY_TEAM to value 1.
This commit is contained in:
parent
ede4b1c5e5
commit
ab26248080
|
@ -90,7 +90,7 @@
|
|||
* #NMCapability names the numbers in the Capabilities property.
|
||||
**/
|
||||
typedef enum {
|
||||
NM_CAPABILITY_TEAM
|
||||
NM_CAPABILITY_TEAM = 1,
|
||||
} NMCapability;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue