diff options
Diffstat (limited to 'src/monitor.c')
-rw-r--r-- | src/monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.c b/src/monitor.c index 9e3c43dc..01480cd7 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -908,7 +908,7 @@ int netlink_echo_callback(const struct nlmsghdr *nlh, void *data) if (!echo_monh.ctx->nft->output.echo) return MNL_CB_OK; - if (ctx->nft->output.json) + if (nft_output_json(&ctx->nft->output)) return json_events_cb(nlh, &echo_monh); return netlink_events_cb(nlh, &echo_monh); |