From 3320f7c7224e051b4a30a74e0a683159ed8b9dea Mon Sep 17 00:00:00 2001 From: YohanPipereau Date: Fri, 5 Apr 2019 20:14:09 +0200 Subject: Modify build system -Clean Makefile -Fix errors in scvpp length copies -Add testing when building scvpp Change-Id: I5a331386a1812b147dfec26310dfbd3aed327dae Signed-off-by: YohanPipereau --- src/plugins/openconfig/openconfig_local_routing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/openconfig/openconfig_local_routing.c') diff --git a/src/plugins/openconfig/openconfig_local_routing.c b/src/plugins/openconfig/openconfig_local_routing.c index 5d18b52..6a3b5bd 100644 --- a/src/plugins/openconfig/openconfig_local_routing.c +++ b/src/plugins/openconfig/openconfig_local_routing.c @@ -381,7 +381,7 @@ oc_next_hop_state_cb(const char *xpath, sr_val_t **values, size_t *values_cnt, VPP_IP4_PREFIX_STRING_LEN, &state); rc |= get_xpath_key(index, (char*)xpath, "next-hop", "index", - VPP_IP4_PREFIX_STRING_LEN, &state); + HOP_INDEX_SIZE, &state); if (rc != 0) return SR_ERR_INVAL_ARG; -- cgit 1.2.3-korg