summaryrefslogtreecommitdiffstats
path: root/src/expr/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/log.c')
-rw-r--r--src/expr/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/log.c b/src/expr/log.c
index 57490d9..e965448 100644
--- a/src/expr/log.c
+++ b/src/expr/log.c
@@ -264,7 +264,7 @@ static int nftnl_expr_log_export(char *buf, size_t size,
if (e->flags & (1 << NFTNL_EXPR_LOG_LEVEL))
nftnl_buf_u32(&b, type, log->level, LEVEL);
if (e->flags & (1 << NFTNL_EXPR_LOG_FLAGS))
- nftnl_buf_u32(&b, type, log->level, FLAGS);
+ nftnl_buf_u32(&b, type, log->flags, FLAGS);
return nftnl_buf_done(&b);
}