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 acd9839..17f4459 100644
--- a/src/expr/nat.c
+++ b/src/expr/nat.c
@@ -201,7 +201,8 @@ nft_rule_expr_nat_build(struct nlmsghdr *nlh, struct nft_rule_expr *e)
}
static int
-nft_rule_expr_nat_snprintf(char *buf, size_t size, struct nft_rule_expr *e)
+nft_rule_expr_nat_snprintf(char *buf, size_t size, uint32_t type,
+ uint32_t flags, struct nft_rule_expr *e)
{
struct nft_expr_nat *nat = (struct nft_expr_nat *)e->data;
int len = size, offset = 0, ret = 0;