From 1c2c506d3ce3261c7b2aa7518c63cc8bd81fa9ad Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 20 Jan 2014 10:49:21 +0100 Subject: use new libnftnl library name Adapt the current code to use the new library name libnftnl. Signed-off-by: Pablo Neira Ayuso --- INSTALL | 2 +- configure.ac | 2 +- include/netlink.h | 10 +++++----- src/mnl.c | 10 +++++----- src/netlink.c | 8 ++++---- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/INSTALL b/INSTALL index 0672b1d1..ba6f7a38 100644 --- a/INSTALL +++ b/INSTALL @@ -8,7 +8,7 @@ Installation instructions for nftables - libmnl: git://git.netfilter.org/libmnl.git - - libnftables: git://git.netfilter.org/libnftables.git + - libnftnl: git://git.netfilter.org/libnftnl.git - flex diff --git a/configure.ac b/configure.ac index ca14d835..d0a8595a 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,7 @@ AC_CHECK_LIB([mnl], [mnl_socket_open], , AC_MSG_ERROR([No suitable version of libmnl found])) AC_CHECK_LIB([nftables], [nft_rule_alloc], , - AC_MSG_ERROR([No suitable version of libnftables found])) + AC_MSG_ERROR([No suitable version of libnftnl found])) AC_CHECK_LIB([gmp], [__gmpz_init], , AC_MSG_ERROR([No suitable version of libgmp found])) diff --git a/include/netlink.h b/include/netlink.h index 85e84343..fbaaaeba 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -1,11 +1,11 @@ #ifndef NFTABLES_NETLINK_H #define NFTABLES_NETLINK_H -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include diff --git a/src/mnl.c b/src/mnl.c index d457e319..b8679022 100644 --- a/src/mnl.c +++ b/src/mnl.c @@ -9,11 +9,11 @@ */ #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include diff --git a/src/netlink.c b/src/netlink.c index b776b3cc..7f69995d 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -14,10 +14,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include -- cgit v1.2.3