crypto: fix dead nn foreach
Pass vec_foreach args in the right order
Type: fix
@@ -627,7 +627,7 @@ vnet_crypto_register_post_node (vlib_main_t * vm, char *post_node_name)
return ~0;
/* *INDENT-OFF* */
- vec_foreach (cm->next_nodes, nn)
+ vec_foreach (nn, cm->next_nodes)
{
if (nn->node_idx == pn->index)
return nn->next_idx;
