summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c')
-rw-r--r--src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c b/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
index a0a76a8dce1..87e57d3605e 100644
--- a/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
+++ b/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
@@ -51,11 +51,11 @@ vxlan_gpe_decap_ioam_v4_two_inline (vlib_main_t * vm,
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
- next0[0] = next1[0] = hm->decap_v4_next_override;
- vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b0, &next0[0],
+ *next0 = *next1 = hm->decap_v4_next_override;
+ vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b0, next0,
VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP,
0 /* use_adj */ );
- vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b1, &next1[0],
+ vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b1, next1,
VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP,
0 /* use_adj */ );
}