* ipt_connlimit.c module
@ 2003-07-11 12:33 Martin Bene
2003-07-14 8:08 ` Harald Welte
0 siblings, 1 reply; 2+ messages in thread
From: Martin Bene @ 2003-07-11 12:33 UTC (permalink / raw)
To: netfilter-devel
I've just tried to compile ipt_connlimit.c from current patch-o-matic
snapshot (20030710) on 2.4.21 kernel;
compilation fails with an error (NF_ACCEPT undeclared):
/usr/src/linux-2.4.21/include/linux/netfilter_ipv4/ip_conntrack_core.h: In
function `ip_conntrack_confirm':
In file included from ipt_connlimit.c:18:
/usr/src/linux-2.4.21/include/linux/netfilter_ipv4/ip_conntrack_core.h:44:
`NF_ACCEPT' undeclared (first use in this function)
/usr/src/linux-2.4.21/include/linux/netfilter_ipv4/ip_conntrack_core.h:44:
(Each undeclared identifier is reported only once
/usr/src/linux-2.4.21/include/linux/netfilter_ipv4/ip_conntrack_core.h:44:
for each function it appears in.)
/usr/src/linux-2.4.21/include/linux/netfilter_ipv4/ip_conntrack_core.h:45:
warning: control reaches end of non-void function
Fix: additional include seems to be needed:
#include <linux/netfilter.h>
Bye, Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-14 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-11 12:33 ipt_connlimit.c module Martin Bene
2003-07-14 8:08 ` Harald Welte
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.