* [ulogd2 PATCH] build: bump libnetfilter_log dependency
@ 2021-12-04 20:56 Jeremy Sowden
2021-12-06 22:39 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Sowden @ 2021-12-04 20:56 UTC (permalink / raw)
To: Netfilter Devel
Recent changes to add conntrack info to the NFLOG output plug-in rely on
symbols only present in the headers provided by libnetfilter-log v1.0.2:
CC ulogd_inppkt_NFLOG.lo
ulogd_inppkt_NFLOG.c: In function 'build_ct':
ulogd_inppkt_NFLOG.c:346:34: error: 'NFULA_CT' undeclared (first use in this function); did you mean 'NFULA_GID'?
if (mnl_attr_get_type(attr) == NFULA_CT) {
^~~~~~~~
NFULA_GID
ulogd_inppkt_NFLOG.c:346:34: note: each undeclared identifier is reported only once for each function it appears in
ulogd_inppkt_NFLOG.c: In function 'start':
ulogd_inppkt_NFLOG.c:669:12: error: 'NFULNL_CFG_F_CONNTRACK' undeclared (first use in this function); did you mean 'NFULNL_CFG_F_SEQ'?
flags |= NFULNL_CFG_F_CONNTRACK;
^~~~~~~~~~~~~~~~~~~~~~
NFULNL_CFG_F_SEQ
Bump the pkg-config version accordingly.
Fixes: f6a615587a10 ("NFLOG: attach struct nf_conntrack")
Fixes: e513a04cd925 ("NFLOG: add NFULNL_CFG_F_CONNTRACK flag")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 895d58439ef7..b3e1c8f6b926 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ AC_ARG_ENABLE([nflog],
[enable_nflog=$enableval],
[enable_nflog=yes])
AS_IF([test "x$enable_nflog" = "xyes"],
- [PKG_CHECK_MODULES([LIBNETFILTER_LOG], [libnetfilter_log >= 1.0.0])
+ [PKG_CHECK_MODULES([LIBNETFILTER_LOG], [libnetfilter_log >= 1.0.2])
AC_DEFINE([BUILD_NFLOG], [1], [Building nflog module])],
[enable_nflog=no])
AM_CONDITIONAL([BUILD_NFLOG], [test "x$enable_nflog" = "xyes"])
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [ulogd2 PATCH] build: bump libnetfilter_log dependency
2021-12-04 20:56 [ulogd2 PATCH] build: bump libnetfilter_log dependency Jeremy Sowden
@ 2021-12-06 22:39 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2021-12-06 22:39 UTC (permalink / raw)
To: Jeremy Sowden; +Cc: Netfilter Devel
On Sat, Dec 04, 2021 at 08:56:00PM +0000, Jeremy Sowden wrote:
> Recent changes to add conntrack info to the NFLOG output plug-in rely on
> symbols only present in the headers provided by libnetfilter-log v1.0.2:
>
> CC ulogd_inppkt_NFLOG.lo
> ulogd_inppkt_NFLOG.c: In function 'build_ct':
> ulogd_inppkt_NFLOG.c:346:34: error: 'NFULA_CT' undeclared (first use in this function); did you mean 'NFULA_GID'?
> if (mnl_attr_get_type(attr) == NFULA_CT) {
> ^~~~~~~~
> NFULA_GID
> ulogd_inppkt_NFLOG.c:346:34: note: each undeclared identifier is reported only once for each function it appears in
> ulogd_inppkt_NFLOG.c: In function 'start':
> ulogd_inppkt_NFLOG.c:669:12: error: 'NFULNL_CFG_F_CONNTRACK' undeclared (first use in this function); did you mean 'NFULNL_CFG_F_SEQ'?
> flags |= NFULNL_CFG_F_CONNTRACK;
> ^~~~~~~~~~~~~~~~~~~~~~
> NFULNL_CFG_F_SEQ
>
> Bump the pkg-config version accordingly.
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-06 22:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-04 20:56 [ulogd2 PATCH] build: bump libnetfilter_log dependency Jeremy Sowden
2021-12-06 22:39 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.