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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/log.c b/src/expr/log.c
index 0e35a65..2d93b2a 100644
--- a/src/expr/log.c
+++ b/src/expr/log.c
@@ -58,7 +58,8 @@ nft_rule_expr_log_set(struct nft_rule_expr *e, uint16_t type,
}
static const void *
-nft_rule_expr_log_get(struct nft_rule_expr *e, uint16_t type, size_t *data_len)
+nft_rule_expr_log_get(const struct nft_rule_expr *e, uint16_t type,
+ size_t *data_len)
{
struct nft_expr_log *log = (struct nft_expr_log *)e->data;