path: root/src/
diff options
authorPablo Neira Ayuso <>2010-10-12 13:24:08 +0200
committerPablo Neira Ayuso <>2010-11-08 23:40:33 +0100
commitb245e4092c5a7f09729e64868a42e13f48ac5db8 (patch)
treea31692d718120b9c17951e2e583c3a7d554602ab /src/
parent417dc5fb87ade355d699ea523de870abc6dd1657 (diff)
src: allow to use nfct handler for conntrack and expectations at the same time
This patch re-works the callback handling to allow the use the same socket to send/receive commands and listen to events of both conntrack and expectation subsystems. Now you can register one callback for conntrack and one for expectation with the same handler with no problems (before this patch, this was not possible, you required two different handlers). Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ b/src/
index 2e9ccd0..82030c4 100644
--- a/src/
+++ b/src/
@@ -15,4 +15,4 @@ libnetfilter_conntrack_la_LIBADD = conntrack/ \
libnetfilter_conntrack_la_LDFLAGS = -Wc,-nostartfiles -lnfnetlink -ldl \
-version-info $(LIBVERSION)
-libnetfilter_conntrack_la_SOURCES = main.c
+libnetfilter_conntrack_la_SOURCES = main.c callback.c