summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/ip6/ioam_cache_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_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_node.c')
-rw-r--r--src/plugins/ioam/ip6/ioam_cache_node.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/ioam/ip6/ioam_cache_node.c b/src/plugins/ioam/ip6/ioam_cache_node.c
index d930f3395dc..dd27e127a09 100644
--- a/src/plugins/ioam/ip6/ioam_cache_node.c
+++ b/src/plugins/ioam/ip6/ioam_cache_node.c
@@ -355,7 +355,6 @@ ip6_add_from_cache_hbh_node_fn (vlib_main_t * vm,
clib_memcpy (&srh0->segments[1],
(u8 *) hbh0 + entry->my_address_offset,
sizeof (ip6_address_t));
- srh0->segments_left--;
ioam_cache_entry_free (entry);
/* Patch the protocol chain, insert the h-b-h (type 0) header */