diff mbox series

nftables: Bump dependency on libnftnl to 1.1.5

Message ID 34285bec-d708-d115-dd8c-207aa4a5f718@plutex.de
State Superseded
Delegated to: Pablo Neira
Headers show
Series nftables: Bump dependency on libnftnl to 1.1.5 | expand

Commit Message

Jan-Philipp Litza Dec. 5, 2019, 9:46 a.m. UTC
The multidevice support was introduced in libnftnl commit e3ac19b5ec162,
which is first included in version 1.1.5

With version 1.1.4, compile errors like the following occur:

netlink.c:423:38: error: 'NFTNL_CHAIN_DEVICES' undeclared (first use in
this function); did you mean 'NFTNL_CHAIN_DEV'?

Fixes: 3fdc7541fba07 ("src: add multidevice support for netdev chain")
Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Phil Sutter Dec. 5, 2019, 10:54 a.m. UTC | #1
Hi,

On Thu, Dec 05, 2019 at 10:46:34AM +0100, Jan-Philipp Litza wrote:
> The multidevice support was introduced in libnftnl commit e3ac19b5ec162,
> which is first included in version 1.1.5
> 
> With version 1.1.4, compile errors like the following occur:
> 
> netlink.c:423:38: error: 'NFTNL_CHAIN_DEVICES' undeclared (first use in
> this function); did you mean 'NFTNL_CHAIN_DEV'?
> 
> Fixes: 3fdc7541fba07 ("src: add multidevice support for netdev chain")
> Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>

You were beaten by Pablo by merely 8 minutes or so. :)
Thanks anyway for the patch!

Cheers, Phil
Jan-Philipp Litza Dec. 6, 2019, 8:56 a.m. UTC | #2
Well, I *did* send it earlier, but to the wrong list ;-)
https://www.spinics.net/lists/netfilter/msg59052.html

Have a great start into the weekend!

Phil Sutter wrote:
> You were beaten by Pablo by merely 8 minutes or so. :)
> Thanks anyway for the patch!
> 
> Cheers, Phil
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index 5ed3f18a..c487029a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@  AS_IF([test "x$enable_man_doc" = "xyes"], [
 ])

 PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
-PKG_CHECK_MODULES([LIBNFTNL], [libnftnl >= 1.1.4])
+PKG_CHECK_MODULES([LIBNFTNL], [libnftnl >= 1.1.5])

 AC_ARG_WITH([mini-gmp], [AS_HELP_STRING([--with-mini-gmp],
             [Use builtin mini-gmp (for embedded builds)])],