Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
17d2c4f
)
Fix parameter mismatch in map-t code
22/9822/2
author
Juraj Sloboda
<jsloboda@cisco.com>
Wed, 13 Dec 2017 10:53:32 +0000
(11:53 +0100)
committer
Ole Trøan
<otroan@employees.org>
Wed, 13 Dec 2017 14:12:39 +0000
(14:12 +0000)
Change-Id: Ifa37767eb2c3cfc343f54691e6042473a6adf474
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
src/vnet/map/ip6_map_t.c
patch
|
blob
|
history
diff --git
a/src/vnet/map/ip6_map_t.c
b/src/vnet/map/ip6_map_t.c
index
b173bb2
..
8ff1532
100644
(file)
--- a/
src/vnet/map/ip6_map_t.c
+++ b/
src/vnet/map/ip6_map_t.c
@@
-189,7
+189,7
@@
ip6_map_t_icmp (vlib_main_t * vm,
d0 =
pool_elt_at_index (map_main.domains,
vnet_buffer (p0)->map_t.map_domain_index);
- ctx0.sender_port = ip6_get_port (ip60, 0,
len0
);
+ ctx0.sender_port = ip6_get_port (ip60, 0,
p0->current_length
);
ctx0.d = d0;
if (ctx0.sender_port == 0)
{