summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index 75daac1..76287fd 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -114,7 +114,7 @@ static struct parser h[NTA_MAX] = {
},
[NTA_DPAT_PORT] = {
.parse = parse_u16,
- .attr = ATTR_SNAT_PORT,
+ .attr = ATTR_DNAT_PORT,
.size = NTA_SIZE(sizeof(uint16_t)),
},
[NTA_NAT_SEQ_ADJ] = {