summaryrefslogtreecommitdiffstats
path: root/src/vnet/map
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2017-12-13 11:53:32 +0100
committerOle Trøan <otroan@employees.org>2017-12-13 14:12:39 +0000
commit51e5edcbdd1eaea8f8f5566d35d6d865a6832594 (patch)
tree01218210b496a9a6c12e7d010b42858617df26bf /src/vnet/map
parent17d2c4f78526cbc9b8b0cb0815371454299ac4f4 (diff)
Fix parameter mismatch in map-t code
Change-Id: Ifa37767eb2c3cfc343f54691e6042473a6adf474 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/vnet/map')
-rw-r--r--src/vnet/map/ip6_map_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/map/ip6_map_t.c b/src/vnet/map/ip6_map_t.c
index b173bb2ad01..8ff1532081b 100644
--- 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)
{