aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/lib-vxlan-gpe
diff options
context:
space:
mode:
authorVengada <venggovi@cisco.com>2017-01-24 23:38:41 -0800
committerVengada <venggovi@cisco.com>2017-01-24 23:38:41 -0800
commit6dbbc58b6c7a288d941a8572df4b085983bb00e6 (patch)
tree496afac4d4e7ba8d9630a04232c609aa40c7e37b /src/plugins/ioam/lib-vxlan-gpe
parentf69ecfe09db52c672ccbe47e714bc9c9a70d5539 (diff)
Fix coverity defect.
Typo resulted in passing next0[1] instead of next1[0]. Corrected it Change-Id: I6e863c7c23c8c014ef0fef9ea1368fbaf3bc9809 Signed-off-by: Vengada <venggovi@cisco.com>
Diffstat (limited to 'src/plugins/ioam/lib-vxlan-gpe')
-rw-r--r--src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c b/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
index fd3086571eb..a0a76a8dce1 100644
--- a/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
+++ b/src/plugins/ioam/lib-vxlan-gpe/ioam_decap.c
@@ -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 */ );
}