aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bier/bier_disp_table.c
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-11-14 14:43:34 +0100
committerNeale Ranns <nranns@cisco.com>2017-11-14 16:25:35 +0000
commit0f8a96c084dbce006cb03a6a27b2e504fb45b11e (patch)
treec3760ce4048b821fd799bbc5405cb1cecf257206 /src/vnet/bier/bier_disp_table.c
parent156e5caeecb5e60d283d97d61f41d64c1228171d (diff)
bier - fix node table declaration
Need to be NULL-terminated. Fix declarations of: - bier_disp_table_bier_nodes - bier_table_mpls_nodes - bier_fmask_mpls_nodes This was crashing during make test on aarch64 platform: During the API call to bier_table_add_del, the crash happens during dpo_default_get_next_node(). Change-Id: I16207ba38fc9ab65bad787878c4608740c312257 Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vnet/bier/bier_disp_table.c')
-rw-r--r--src/vnet/bier/bier_disp_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/bier/bier_disp_table.c b/src/vnet/bier/bier_disp_table.c
index 5caf86d3705..b2541dacc4d 100644
--- a/src/vnet/bier/bier_disp_table.c
+++ b/src/vnet/bier/bier_disp_table.c
@@ -328,7 +328,8 @@ const static dpo_vft_t bier_disp_table_dpo_vft = {
const static char *const bier_disp_table_bier_nodes[] =
{
- "bier-disp-lookup"
+ "bier-disp-lookup",
+ NULL
};
const static char * const * const bier_disp_table_nodes[DPO_PROTO_NUM] =