summaryrefslogtreecommitdiffstats
path: root/src/expr/nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/nat.c')
-rw-r--r--src/expr/nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/nat.c b/src/expr/nat.c
index 5d924cf..1230d8e 100644
--- a/src/expr/nat.c
+++ b/src/expr/nat.c
@@ -65,7 +65,8 @@ nft_rule_expr_nat_set(struct nft_rule_expr *e, uint16_t type,
}
static const void *
-nft_rule_expr_nat_get(struct nft_rule_expr *e, uint16_t type, size_t *data_len)
+nft_rule_expr_nat_get(const struct nft_rule_expr *e, uint16_t type,
+ size_t *data_len)
{
struct nft_expr_nat *nat = (struct nft_expr_nat *)e->data;