Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: fix unknown proto translation out2in_ed
[vpp.git]
/
src
/
plugins
/
nat
/
out2in_ed.c
diff --git
a/src/plugins/nat/out2in_ed.c
b/src/plugins/nat/out2in_ed.c
index
6943614
..
adf0ec4
100644
(file)
--- a/
src/plugins/nat/out2in_ed.c
+++ b/
src/plugins/nat/out2in_ed.c
@@
-1026,13
+1026,13
@@
nat44_ed_out2in_slow_path_node_fn_inline (vlib_main_t * vm,
s0 =
nat44_ed_out2in_unknown_proto (sm, b0, ip0, rx_fib_index0,
thread_index, now, vm, node);
s0 =
nat44_ed_out2in_unknown_proto (sm, b0, ip0, rx_fib_index0,
thread_index, now, vm, node);
- other_packets++;
if (!sm->forwarding_enabled)
{
if (!s0)
next0 = NAT_NEXT_DROP;
if (!sm->forwarding_enabled)
{
if (!s0)
next0 = NAT_NEXT_DROP;
- goto trace0;
}
}
+ other_packets++;
+ goto trace0;
}
if (PREDICT_FALSE (proto0 == SNAT_PROTOCOL_ICMP))
}
if (PREDICT_FALSE (proto0 == SNAT_PROTOCOL_ICMP))