summaryrefslogtreecommitdiffstats
path: root/lib/utils.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2024-05-07 08:08:58 (GMT)
committerThomas Haller <thaller@redhat.com>2024-05-07 08:08:58 (GMT)
commit7cc72d19f84698a194bee843af66be9be6179baa (patch)
tree38d8eda86daad648c4651ce3f9f0095702f5e575 /lib/utils.c
parent30da51072975cd7733cfee27305f8512b733216e (diff)
downloadlibnl-7cc72d19f84698a194bee843af66be9be6179baa.zip
libnl-7cc72d19f84698a194bee843af66be9be6179baa.tar.gz
libnl-7cc72d19f84698a194bee843af66be9be6179baa.tar.bz2
utils: reserve the nl_has_capabiliy numbers for releases 3.10 - 3.12
Fix the capability numbers for the next few releases already. While not yet in use, the number is reserved and stable.
Diffstat (limited to 'lib/utils.c')
-rw-r--r--lib/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils.c b/lib/utils.c
index 471cd21..1d56f1d 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -1283,9 +1283,9 @@ int nl_has_capability (int capability)
NL_CAPABILITY_VERSION_3_7_0,
NL_CAPABILITY_VERSION_3_8_0,
NL_CAPABILITY_VERSION_3_9_0,
- 0,
- 0,
- 0,
+ 0, /* NL_CAPABILITY_VERSION_3_10_0 */
+ 0, /* NL_CAPABILITY_VERSION_3_11_0 */
+ 0, /* NL_CAPABILITY_VERSION_3_12_0 */
0,
0),
/* IMPORTANT: these capability numbers are intended to be universal and stable