Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NAT44: do not create session record for identity mapping (VPP-1439)
[vpp.git]
/
src
/
plugins
/
nat
/
nat44_hairpinning.c
diff --git
a/src/plugins/nat/nat44_hairpinning.c
b/src/plugins/nat/nat44_hairpinning.c
index
9d49dc2
..
c07427d
100644
(file)
--- a/
src/plugins/nat/nat44_hairpinning.c
+++ b/
src/plugins/nat/nat44_hairpinning.c
@@
-114,7
+114,7
@@
snat_hairpinning (snat_main_t * sm,
kv0.key = key0.as_u64;
/* Check if destination is static mappings */
kv0.key = key0.as_u64;
/* Check if destination is static mappings */
- if (!snat_static_mapping_match (sm, key0, &sm0, 1, 0, 0, 0, 0))
+ if (!snat_static_mapping_match (sm, key0, &sm0, 1, 0, 0, 0, 0
, 0
))
{
new_dst_addr0 = sm0.addr.as_u32;
new_dst_port0 = sm0.port;
{
new_dst_addr0 = sm0.addr.as_u32;
new_dst_port0 = sm0.port;
@@
-444,7
+444,7
@@
nat44_reass_hairpinning (snat_main_t * sm,
udp0 = ip4_next_header (ip0);
/* Check if destination is static mappings */
udp0 = ip4_next_header (ip0);
/* Check if destination is static mappings */
- if (!snat_static_mapping_match (sm, key0, &sm0, 1, 0, 0, 0, 0))
+ if (!snat_static_mapping_match (sm, key0, &sm0, 1, 0, 0, 0, 0
, 0
))
{
new_dst_addr0 = sm0.addr.as_u32;
new_dst_port0 = sm0.port;
{
new_dst_addr0 = sm0.addr.as_u32;
new_dst_port0 = sm0.port;