aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c
diff options
context:
space:
mode:
authorshwethab <shwetha.bhandari@gmail.com>2017-04-11 06:21:44 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-05-17 18:39:46 +0000
commit883a4bd4ee2d69f1f05870152de14acd91c96df4 (patch)
tree1b800c0d5ada2aacc40e1c1df142d28a7e852eeb /src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c
parentbfd9227e6da567e0e19e026afe94cd4c0b65f725 (diff)
ioam: configuration for SRv6 localsid (VPP-693)
This add debug cli to accept SRv6 localsid that will be used to attract the return traffic for M-Anycast flows. Change-Id: I8f8dd115c36498141ae4cb143c6584141950b1d3 Signed-off-by: shwethab <shwetha.bhandari@gmail.com> (cherry picked from commit 00c14a94c34fac89e6e589c4a7aad20d8dd183dc)
Diffstat (limited to 'src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c')
-rw-r--r--src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c b/src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c
index ca06607d06c..79ee58eccda 100644
--- a/src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c
+++ b/src/plugins/ioam/ip6/ioam_cache_tunnel_select_node.c
@@ -424,7 +424,7 @@ ip6_reset_ts_hbh_node_fn (vlib_main_t * vm,
ioam_e2e_id_rewrite_handler ((ioam_e2e_id_option_t *)
((u8 *) e2e +
sizeof (ioam_e2e_cache_option_t)),
- b0);
+ &cm->sr_localsid_ts);
/* Patch the protocol chain, insert the h-b-h (type 0) header */
hbh0->protocol = ip0->protocol;
ip0->protocol = 0;
@@ -484,7 +484,7 @@ ip6_reset_ts_hbh_node_fn (vlib_main_t * vm,
ioam_e2e_id_rewrite_handler ((ioam_e2e_id_option_t *)
((u8 *) e2e +
sizeof (ioam_e2e_cache_option_t)),
- b1);
+ &cm->sr_localsid_ts);
/* Patch the protocol chain, insert the h-b-h (type 0) header */
hbh1->protocol = ip1->protocol;
ip1->protocol = 0;
@@ -590,7 +590,7 @@ ip6_reset_ts_hbh_node_fn (vlib_main_t * vm,
ioam_e2e_id_rewrite_handler ((ioam_e2e_id_option_t *)
((u8 *) e2e +
sizeof (ioam_e2e_cache_option_t)),
- b0);
+ &cm->sr_localsid_ts);
/* Patch the protocol chain, insert the h-b-h (type 0) header */
hbh0->protocol = ip0->protocol;
ip0->protocol = 0;