summaryrefslogtreecommitdiffstats
path: root/src/statement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statement.c')
-rw-r--r--src/statement.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/statement.c b/src/statement.c
index be35bcef..182edac8 100644
--- a/src/statement.c
+++ b/src/statement.c
@@ -607,6 +607,9 @@ static void nat_stmt_print(const struct stmt *stmt, struct output_ctx *octx)
break;
}
+ if (stmt->nat.ipportmap)
+ nft_print(octx, " addr . port");
+
nft_print(octx, " to");
}