From adf44f2a5eeb056c5fece0454d3e09d08df160fe Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Tue, 28 May 2019 10:19:21 +0200 Subject: [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 --- src/plugins/ietf/ietf_nat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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."); -- cgit