summaryrefslogtreecommitdiffstats
path: root/src/statement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statement.c')
-rw-r--r--src/statement.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statement.c b/src/statement.c
index 5bbc0540..8a1cd6e0 100644
--- a/src/statement.c
+++ b/src/statement.c
@@ -609,6 +609,8 @@ static void nat_stmt_print(const struct stmt *stmt, struct output_ctx *octx)
if (stmt->nat.ipportmap)
nft_print(octx, " addr . port");
+ else if (stmt->nat.type_flags & STMT_NAT_F_PREFIX)
+ nft_print(octx, " prefix");
else if (stmt->nat.type_flags & STMT_NAT_F_INTERVAL)
nft_print(octx, " interval");