vlib: vlib_get_node_by_name fails via API
Type: fix
Calling vlib_get_node_by_name via the VPE api
doesn't work due to hash weirdness. Haven't
gotten around the real cause of this. But this
fixes it.
@@ -47,7 +47,6 @@ vlib_get_node_by_name (vlib_main_t * vm, u8 * name)
vlib_node_main_t *nm = &vm->node_main;
uword *p;
u8 *key = name;
- if (!clib_mem_is_heap_object (vec_header (key, 0)))
key = format (0, "%s", key);
p = hash_get (nm->node_by_name, key);
if (key != name)
