diff options
author | Thomas Haller <thaller@redhat.com> | 2016-09-23 13:20:47 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-09-23 15:49:52 +0200 |
commit | ab262480807a179615de114fea1f9e3e162aa851 (patch) | |
tree | 81e8eafc7a9bac67d79136ce32a2b3d671aae341 | |
parent | ede4b1c5e57ec56530a6b06d56bfac69b630a9cf (diff) | |
download | NetworkManager-ab262480807a179615de114fea1f9e3e162aa851.tar.gz |
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.
-rw-r--r-- | libnm-core/nm-dbus-interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 7934f565d0..5e63cc069d 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -90,7 +90,7 @@ * #NMCapability names the numbers in the Capabilities property. **/ typedef enum { - NM_CAPABILITY_TEAM + NM_CAPABILITY_TEAM = 1, } NMCapability; /** |