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>
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] =
const static char *const bier_fmask_mpls_nodes[] =
{
- "bier-output"
+ "bier-output",
+ NULL
};
const static char * const * const bier_fmask_nodes[DPO_PROTO_NUM] =
{
const static char *const bier_table_mpls_nodes[] =
{
- "bier-input"
+ "bier-input",
+ NULL
};
const static char * const * const bier_table_nodes[DPO_PROTO_NUM] =
{