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
committerFlorin Coras <florin.coras@gmail.com>2017-04-13 08:50:21 +0000
commit00c14a94c34fac89e6e589c4a7aad20d8dd183dc (patch)
treedfe3a571da8390ba2329a62b283e92bf19af1726 /src/plugins/ioam/ip6/ioam_cache_node.c
parent5e189f1a8862f5a8f837dc612c15d63d2b9b6457 (diff)
VPP-693: IOAM configuration for SRv6 localsid
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>
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 */