summaryrefslogtreecommitdiffstats
path: root/src/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.c')
-rw-r--r--src/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor.c b/src/monitor.c
index 01480cd7..b2267e1f 100644
--- a/src/monitor.c
+++ b/src/monitor.c
@@ -905,7 +905,7 @@ int netlink_echo_callback(const struct nlmsghdr *nlh, void *data)
.cache_needed = true,
};
- if (!echo_monh.ctx->nft->output.echo)
+ if (!nft_output_echo(&echo_monh.ctx->nft->output))
return MNL_CB_OK;
if (nft_output_json(&ctx->nft->output))