aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/ip6/ioam_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ioam/ip6/ioam_cache.c')
-rw-r--r--src/plugins/ioam/ip6/ioam_cache.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/ioam/ip6/ioam_cache.c b/src/plugins/ioam/ip6/ioam_cache.c
index fcacae0cf2c..d315bc6c61c 100644
--- a/src/plugins/ioam/ip6/ioam_cache.c
+++ b/src/plugins/ioam/ip6/ioam_cache.c
@@ -371,6 +371,7 @@ VLIB_CLI_COMMAND (show_ioam_cache_command, static) =
static clib_error_t *
ioam_cache_init (vlib_main_t * vm)
{
+ vlib_node_t *node;
ioam_cache_main_t *em = &ioam_cache_main;
clib_error_t *error = 0;
u8 *name;
@@ -405,6 +406,12 @@ ioam_cache_init (vlib_main_t * vm)
em->error_node_index = error_node->index;
em->vlib_main = vm;
+ node = vlib_get_node_by_name (vm, (u8 *) "ip6-add-from-cache-hop-by-hop");
+ em->ip6_add_from_cache_hbh_node_index = node->index;
+
+ node = vlib_get_node_by_name (vm, (u8 *) "ip6-add-syn-hop-by-hop");
+ em->ip6_reset_ts_hbh_node_index = node->index;
+
vec_free (name);
return error;