Fix coverity defect. 55/4855/1
authorVengada <venggovi@cisco.com>
Wed, 25 Jan 2017 07:38:41 +0000 (23:38 -0800)
committerVengada <venggovi@cisco.com>
Wed, 25 Jan 2017 07:38:41 +0000 (23:38 -0800)
Typo resulted in passing next0[1] instead of next1[0]. Corrected it

Change-Id: I6e863c7c23c8c014ef0fef9ea1368fbaf3bc9809
Signed-off-by: Vengada <venggovi@cisco.com>
src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c

index fd30865..a0a76a8 100644 (file)
@@ -55,7 +55,7 @@ vxlan_gpe_decap_ioam_v4_two_inline (vlib_main_t * vm,
   vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b0, &next0[0],
                                            VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP,
                                            0 /* use_adj */ );
-  vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b1, &next0[1],
+  vxlan_gpe_encap_decap_ioam_v4_one_inline (vm, node, b1, &next1[0],
                                            VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP,
                                            0 /* use_adj */ );
 }