diff options
Diffstat (limited to 'src/monitor.c')
-rw-r--r-- | src/monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monitor.c b/src/monitor.c index 142cc929..bb269c02 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -906,7 +906,8 @@ static int netlink_events_cb(const struct nlmsghdr *nlh, void *data) int netlink_echo_callback(const struct nlmsghdr *nlh, void *data) { - struct netlink_ctx *ctx = data; + struct netlink_cb_data *nl_cb_data = data; + struct netlink_ctx *ctx = nl_cb_data->nl_ctx; struct netlink_mon_handler echo_monh = { .format = NFTNL_OUTPUT_DEFAULT, .ctx = ctx, |