aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/openconfig
diff options
context:
space:
mode:
authorYohanPipereau <ypiperea@cisco.com>2019-04-05 20:14:09 +0200
committerYohanPipereau <ypiperea@cisco.com>2019-04-09 15:32:18 +0200
commit3320f7c7224e051b4a30a74e0a683159ed8b9dea (patch)
tree9f78bdc71d366a402970b44016d92ac922b399c3 /src/plugins/openconfig
parenta760dfb253161911fc3aa3c8b879c461d53ade6e (diff)
Modify build system
-Clean Makefile -Fix errors in scvpp length copies -Add testing when building scvpp Change-Id: I5a331386a1812b147dfec26310dfbd3aed327dae Signed-off-by: YohanPipereau <ypiperea@cisco.com>
Diffstat (limited to 'src/plugins/openconfig')
-rw-r--r--src/plugins/openconfig/openconfig_local_routing.c2
1 files changed, 1 insertions, 1 deletions
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;