summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-10-16 12:08:36 (GMT)
committerThomas Haller <thaller@redhat.com>2015-10-16 12:08:36 (GMT)
commit7b9671c6d88fce7e5261e4caa1a9a17f7136eba3 (patch)
treea4bf291270b7d109bb4b14d691546365c9286ee2
parent6e69d9d12dcf96e62eecb7ee52a7910eb30870f9 (diff)
downloadlibnl-7b9671c6d88fce7e5261e4caa1a9a17f7136eba3.zip
libnl-7b9671c6d88fce7e5261e4caa1a9a17f7136eba3.tar.gz
libnl-7b9671c6d88fce7e5261e4caa1a9a17f7136eba3.tar.bz2
libnl-3.2.27 releaselibnl3_2_27
Signed-off-by: Thomas Haller <thaller@redhat.com>
-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 c5b7bad..c590f9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ m4_define([libnl_lt_revision], [0])
m4_define([libnl_lt_age], [22])
m4_define([libnl_version],
- [libnl_major_version.libnl_minor_version.libnl_micro_version-rc1])
+ [libnl_major_version.libnl_minor_version.libnl_micro_version])
AC_INIT(libnl, [libnl_version], [], [], [http://www.infradead.org/~tgr/libnl/])
AC_CONFIG_HEADERS([lib/defs.h])
diff --git a/doc/configure.ac b/doc/configure.ac
index 5831b9e..dac83dc 100644
--- a/doc/configure.ac
+++ b/doc/configure.ac
@@ -9,7 +9,7 @@
# Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch>
#
-AC_INIT(libnl-doc, [3.2.27-rc1], [http://www.infradead.org/~tgr/libnl/])
+AC_INIT(libnl-doc, [3.2.27], [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 ceef615..31e27f7 100644
--- a/include/netlink/utils.h
+++ b/include/netlink/utils.h
@@ -159,6 +159,12 @@ enum {
NL_CAPABILITY_RTNL_NEIGH_GET_FILTER_AF_UNSPEC_FIX = 10,
#define NL_CAPABILITY_RTNL_NEIGH_GET_FILTER_AF_UNSPEC_FIX NL_CAPABILITY_RTNL_NEIGH_GET_FILTER_AF_UNSPEC_FIX
+ /**
+ * The library version is libnl3 3.2.27 or newer. This capability should never be backported.
+ */
+ NL_CAPABILITY_VERSION_3_2_27 = 11,
+#define NL_CAPABILITY_VERSION_3_2_27 NL_CAPABILITY_VERSION_3_2_27
+
__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 1fabcdb..08db79e 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -1154,7 +1154,7 @@ int nl_has_capability (int capability)
_NL_SET(1,
NL_CAPABILITY_LINK_BUILD_CHANGE_REQUEST_SET_CHANGE,
NL_CAPABILITY_RTNL_NEIGH_GET_FILTER_AF_UNSPEC_FIX,
- 0,
+ NL_CAPABILITY_VERSION_3_2_27,
0,
0,
0,