summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/ietf/ietf_nat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/ietf/ietf_nat.c b/src/plugins/ietf/ietf_nat.c
index 287fa02..86b700f 100644
--- a/src/plugins/ietf/ietf_nat.c
+++ b/src/plugins/ietf/ietf_nat.c
@@ -261,9 +261,11 @@ static sr_error_t set_static_mapping(struct static_mapping_t *mapping)
}
if (!mapping->local_port_set && !mapping->external_port_set) {
- mapping->payload.flags = NAT_IS_ADDR_ONLY;
+ //FIXME!!!!! Compile error
+// mapping->payload.flags = NAT_IS_ADDR_ONLY;
} else {
- mapping->payload.flags = NAT_IS_TWICE_NAT;
+ //FIXME!!!!! Compile error
+// mapping->payload.flags = NAT_IS_TWICE_NAT;
if (!mapping->protocol_set) {
SRP_LOG_ERR_MSG("NAT44 protocol missing.");