diff options
author | Eric Leblond <eric@regit.org> | 2012-08-24 10:41:31 +0200 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2013-01-05 10:55:08 +0100 |
commit | 2d36cd45d0ba4cf4ebf62c56c04608a578849d7d (patch) | |
tree | bbfda3cfdf95f337a3ff100dcf20ce4cb59d25d9 | |
parent | 8cbeaed5c9b78c8c63f4fb98866722135f46ab86 (diff) |
nfct: call register callback on opened handler
nfctp_callback_register was called on the regular handler instead
of begin called on the newly opened handler dedicated to the dump.
-rw-r--r-- | input/flow/ulogd_inpflow_NFCT.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |