summaryrefslogtreecommitdiffstats
path: root/src/vnet/bier/bier_fmask.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_fmask.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_fmask.c')
-rw-r--r--src/vnet/bier/bier_fmask.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/bier/bier_fmask.c b/src/vnet/bier/bier_fmask.c
index e30425cda4e..32bece0c665 100644
--- a/src/vnet/bier/bier_fmask.c
+++ b/src/vnet/bier/bier_fmask.c
@@ -465,7 +465,8 @@ const static dpo_vft_t bier_fmask_dpo_vft = {
const static char *const bier_fmask_mpls_nodes[] =
{
- "bier-output"
+ "bier-output",
+ NULL
};
const static char * const * const bier_fmask_nodes[DPO_PROTO_NUM] =
{