aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat44_api.c
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2020-11-19 10:58:42 +0100
committerOle Tr�an <otroan@employees.org>2020-11-26 19:27:02 +0000
commit6bf3dfd2cab5fc907c4698a35801e027eb01ab17 (patch)
tree76dc25da67240832af38b1d202da87f23fa6965f /src/plugins/nat/nat44_api.c
parent54fe32cdff3cf12d0321eceecaf3776b9ce6504d (diff)
nat: fix tests
Fixed nat_ha and ipfix tests. Removed obsolete tests and moved extended tests to standard tests. Type: fix Change-Id: I2d7f4c4fa4c52a4aa10d70c956e085a0fe00b911 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44_api.c')
-rw-r--r--src/plugins/nat/nat44_api.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/nat/nat44_api.c b/src/plugins/nat/nat44_api.c
index 37c3dbadfc0..4600645d402 100644
--- a/src/plugins/nat/nat44_api.c
+++ b/src/plugins/nat/nat44_api.c
@@ -1509,10 +1509,9 @@ static void
rv =
nat44_lb_static_mapping_add_del_local (e_addr,
- clib_net_to_host_u16
- (mp->external_port), l_addr,
- clib_net_to_host_u16 (mp->
- local.port),
+ mp->external_port,
+ l_addr,
+ mp->local.port,
proto,
clib_net_to_host_u32 (mp->
local.vrf_id),