summaryrefslogtreecommitdiffstats
path: root/src/plugins/ietf
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-05-28 10:19:21 +0200
committerAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-06-03 10:01:26 +0200
commitadf44f2a5eeb056c5fece0454d3e09d08df160fe (patch)
treeaee220cedfccc15f59bccfae1ca7ec6b4a904809 /src/plugins/ietf
parent6dfe3074e92b3188c9fa72303f4135442cc0d5dd (diff)
[TEST] - Initialize to use of YDK in sweetcomb test
- remove netopeer client - use YDK - check result, assert when error Change-Id: Icb29dd5a35e8f7dbbeff2e44ec088b890f93b5ef Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'src/plugins/ietf')
-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.");