From 43878680c994989f16637dc47be19bb8dc154985 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 4 Dec 2025 21:57:38 +0100 Subject: libnl-3.11.0 release --- configure.ac | 2 +- doc/configure.ac | 2 +- include/netlink/utils.h | 6 ++++++ lib/utils.c | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1556ea4..fed3b85 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], [11]) +m4_define([libnl_minor_version], [12]) 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 3317d62..601c5cd 100644 --- a/doc/configure.ac +++ b/doc/configure.ac @@ -3,7 +3,7 @@ # Copyright (c) 2003-2013 Thomas Graf # -AC_INIT(libnl-doc, [3.11.0], [http://www.infradead.org/~tgr/libnl/]) +AC_INIT(libnl-doc, [3.12.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 70886d3..8856ddb 100644 --- a/include/netlink/utils.h +++ b/include/netlink/utils.h @@ -368,6 +368,12 @@ enum { NL_CAPABILITY_ROUTE_FIX_PARSE_BONDING = 41, #define NL_CAPABILITY_ROUTE_FIX_PARSE_BONDING NL_CAPABILITY_ROUTE_FIX_PARSE_BONDING + /** + * The library version is libnl3 3.15.0 or newer. This capability should never be backported. + */ + NL_CAPABILITY_VERSION_3_15_0 = 42, +#define NL_CAPABILITY_VERSION_3_15_0 NL_CAPABILITY_VERSION_3_15_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 635fb29..fcdafd3 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -1286,12 +1286,12 @@ int nl_has_capability (int capability) NL_CAPABILITY_VERSION_3_9_0, NL_CAPABILITY_VERSION_3_10_0, NL_CAPABILITY_VERSION_3_11_0, - 0, /* NL_CAPABILITY_VERSION_3_12_0 */ + NL_CAPABILITY_VERSION_3_12_0, 0, /* NL_CAPABILITY_VERSION_3_13_0 */ 0), /* NL_CAPABILITY_VERSION_3_14_0 */ _NL_SET (5, NL_CAPABILITY_ROUTE_FIX_PARSE_BONDING, - 0, + 0, /* NL_CAPABILITY_VERSION_3_15_0 */ 0, 0, 0, -- cgit v0.12