Author: Dave Barach <dave@barachs.net>
--- log message follows this line -- Coverity: fix minor bug in test code Change-Id: I5921874b4902fc7fe140a9b22852e7d18583e7ae Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
@ -356,8 +356,10 @@ test_node_serialize_command_fn (vlib_main_t * vm,
|
||||
for (k = 0; k < vec_len (node->next_nodes); k++)
|
||||
{
|
||||
if (node->next_nodes[k] != ~0)
|
||||
next_node = nodes[node->next_nodes[k]];
|
||||
vlib_cli_output (vm, " [%d] %s", k, next_node->name);
|
||||
{
|
||||
next_node = nodes[node->next_nodes[k]];
|
||||
vlib_cli_output (vm, " [%d] %s", k, next_node->name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user