nfctp_callback_register was called on the regular handler instead of begin called on the newly opened handler dedicated to the dump. Signed-off-by: Eric Leblond <eric@xxxxxxxxx> --- input/flow/ulogd_inpflow_NFCT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/flow/ulogd_inpflow_NFCT.c b/input/flow/ulogd_inpflow_NFCT.c index 0946b4c..489c9e0 100644 --- a/input/flow/ulogd_inpflow_NFCT.c +++ b/input/flow/ulogd_inpflow_NFCT.c @@ -1063,7 +1063,7 @@ static int constructor_nfct_events(struct ulogd_pluginstance *upi) ulogd_log(ULOGD_FATAL, "error opening ctnetlink\n"); goto err_ovh; } - nfct_callback_register(cpi->cth, NFCT_T_ALL, + nfct_callback_register(h, NFCT_T_ALL, &event_handler_hashtable, upi); nfct_query(h, NFCT_Q_DUMP, &family); nfct_close(h); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html