path: root/utils
diff options
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/>2005-10-07 22:46:50 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/>2005-10-07 22:46:50 +0000
commit9307f9476ba20c3f08a5740ce06274a15d85b8c7 (patch)
treea8de8c2738a938b39ae37e942b5268a4266a2670 /utils
parentbed14205860cca8adef33d9ab5e80adc866518f3 (diff)
- Add missing files: include/libnfnetlink_conntrack/ and include/
- Rename list_conntrack_handler to callback_handler, IMHO a proper name for such function. - Use new nfnl_open prototype: Now it's got four parameters. - Kill recurrent definition of the structure nfnlhdr: Actually this should go somewhere in libnfnetlink, later. - Ignore utils subdirectory. It contains a testsuite that is currently broken. Yes I know you're aware of it ;) it's on the TODO list. I'll fix later. - ctnl_error now has a nicer definition. - kill some unneeded ctnl_error messages on failure. (Pablo Neira)
Diffstat (limited to 'utils')
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/ctnl_test.c b/utils/ctnl_test.c
index c4baa7b..5124d22 100644
--- a/utils/ctnl_test.c
+++ b/utils/ctnl_test.c
@@ -1,5 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
@@ -14,6 +15,7 @@
#include <libnfnetlink_conntrack/libnfnetlink_conntrack.h>
+#if 0
static struct ctnl_handle *cth;
#if 0
@@ -193,3 +195,4 @@ int main(int argc, char **argv)
return 0;