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, 1 insertions, 1 deletions
diff --git a/src/statement.c b/src/statement.c
index 8a1cd6e0..21a1bc8d 100644
--- a/src/statement.c
+++ b/src/statement.c
@@ -607,7 +607,7 @@ static void nat_stmt_print(const struct stmt *stmt, struct output_ctx *octx)
break;
}
- if (stmt->nat.ipportmap)
+ if (stmt->nat.type_flags & STMT_NAT_F_CONCAT)
nft_print(octx, " addr . port");
else if (stmt->nat.type_flags & STMT_NAT_F_PREFIX)
nft_print(octx, " prefix");