aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/ip6/ioam_cache_node.c
diff options
context:
space:
mode:
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 */