aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/map
diff options
context:
space:
mode:
authorJuraj Sloboda <juraj.sloboda@cisco.com>2017-11-10 12:11:50 +0100
committerOle Trøan <otroan@employees.org>2017-12-19 14:39:29 +0000
commit3e86a30a83fe39ff5673af3d11685ff508240d9d (patch)
tree4a566941af374777da500e121af3de3cdd4b5c9c /src/vnet/map
parentb932d26ea48ba8aa7677dc3b6ffd5d4729176c8f (diff)
Fix passing bad context for callback function
Change-Id: I61e6019ab34f52c82bf3f1e5327501a613f58bd9 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/vnet/map')
-rw-r--r--src/vnet/map/ip6_map_t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/map/ip6_map_t.c b/src/vnet/map/ip6_map_t.c
index 8ff1532081b..03cbfc1c16a 100644
--- a/src/vnet/map/ip6_map_t.c
+++ b/src/vnet/map/ip6_map_t.c
@@ -202,8 +202,8 @@ ip6_map_t_icmp (vlib_main_t * vm,
}
if (icmp6_to_icmp
- (p0, ip6_to_ip4_set_icmp_cb, d0, ip6_to_ip4_set_inner_icmp_cb,
- d0))
+ (p0, ip6_to_ip4_set_icmp_cb, &ctx0,
+ ip6_to_ip4_set_inner_icmp_cb, &ctx0))
{
error0 = MAP_ERROR_ICMP;
goto err0;