mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 16:58:02 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
|||
* #NMCapability names the numbers in the Capabilities property.
|
||||
**/
|
||||
typedef enum {
|
||||
NM_CAPABILITY_TEAM
|
||||
NM_CAPABILITY_TEAM = 1,
|
||||
} NMCapability;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue