summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-12-04 12:43:25 +0100
committerThomas Haller <thaller@redhat.com>2023-12-04 12:43:25 +0100
commitbdf83151326e365f137fe0e36dc9b1b7aeb1cf33 (patch)
treebbdad52cd57f071e50eeca79cbd290f884a57dd1
parentaa7353fde8532355e2582dc99d06855b94e96cf9 (diff)
downloadlibnl-bdf83151326e365f137fe0e36dc9b1b7aeb1cf33.tar.gz
libnl-3.9.0 release
-rw-r--r--configure.ac2
-rw-r--r--doc/configure.ac2
-rw-r--r--include/netlink/utils.h6
-rw-r--r--lib/utils.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 2f230696..bc8b3908 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@
# copied from glib
m4_define([libnl_major_version], [3])
-m4_define([libnl_minor_version], [8])
+m4_define([libnl_minor_version], [9])
m4_define([libnl_micro_version], [0])
m4_define([libnl_git_sha], [m4_esyscmd([ ( [ -d ./.git/ ] && [ "$(readlink -f ./.git/)" = "$(readlink -f "$(git rev-parse --git-dir 2>/dev/null)" 2>/dev/null)" ] && git rev-parse --verify -q HEAD 2>/dev/null ) || true ])])
diff --git a/doc/configure.ac b/doc/configure.ac
index cc995b64..c16e20ef 100644
--- a/doc/configure.ac
+++ b/doc/configure.ac
@@ -3,7 +3,7 @@
# Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch>
#
-AC_INIT(libnl-doc, [3.8.0], [http://www.infradead.org/~tgr/libnl/])
+AC_INIT(libnl-doc, [3.9.0], [http://www.infradead.org/~tgr/libnl/])
AC_CONFIG_MACRO_DIR([../m4])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign])
diff --git a/include/netlink/utils.h b/include/netlink/utils.h
index 6c65b1f1..11a6b931 100644
--- a/include/netlink/utils.h
+++ b/include/netlink/utils.h
@@ -325,6 +325,12 @@ enum {
NL_CAPABILITY_VERSION_3_8_0 = 34,
#define NL_CAPABILITY_VERSION_3_8_0 NL_CAPABILITY_VERSION_3_8_0
+ /**
+ * The library version is libnl3 3.9.0 or newer. This capability should never be backported.
+ */
+ NL_CAPABILITY_VERSION_3_9_0 = 35,
+#define NL_CAPABILITY_VERSION_3_9_0 NL_CAPABILITY_VERSION_3_9_0
+
__NL_CAPABILITY_MAX,
NL_CAPABILITY_MAX = (__NL_CAPABILITY_MAX - 1),
#define NL_CAPABILITY_MAX NL_CAPABILITY_MAX
diff --git a/lib/utils.c b/lib/utils.c
index a1204906..4f5fd1aa 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -1284,7 +1284,7 @@ int nl_has_capability (int capability)
_NL_SET (4,
NL_CAPABILITY_VERSION_3_7_0,
NL_CAPABILITY_VERSION_3_8_0,
- 0,
+ NL_CAPABILITY_VERSION_3_9_0,
0,
0,
0,