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 worker selection
[vpp.git]
/
src
/
plugins
/
nat
/
nat44-ei
/
nat44_ei.c
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei.c
b/src/plugins/nat/nat44-ei/nat44_ei.c
index
d361060
..
6775701
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei.c
+++ b/
src/plugins/nat/nat44-ei/nat44_ei.c
@@
-1407,7
+1407,7
@@
nat44_ei_get_out2in_worker_index (vlib_buffer_t *b, ip4_header_t *ip0,
proto = ip_proto_to_nat_proto (ip0->protocol);
udp = ip4_next_header (ip0);
- port =
udp->
dst_port;
+ port =
vnet_buffer (b)->ip.reass.l4_
dst_port;
/* unknown protocol */
if (PREDICT_FALSE (proto == NAT_PROTOCOL_OTHER))