summaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-ad/ad.c
diff options
context:
space:
mode:
authorFrancois Clad <fclad@cisco.com>2018-04-09 12:12:50 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-10 10:31:44 +0000
commit380e3daaaffd309febfc4764731982af08aa2dce (patch)
tree6b44d35944690ba4192a7494f47a9d68a7bf72f2 /src/plugins/srv6-ad/ad.c
parent537eeeca36dcc08a3c337a7cfd1c1c426d43f563 (diff)
srv6-ad: fixing cache size issue
Change-Id: Iaadfbc75832e37ae52511b25448da14116214fc1 Signed-off-by: Francois Clad <fclad@cisco.com>
Diffstat (limited to 'src/plugins/srv6-ad/ad.c')
-rw-r--r--src/plugins/srv6-ad/ad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/srv6-ad/ad.c b/src/plugins/srv6-ad/ad.c
index b6f872d4d25..58dd9907d89 100644
--- a/src/plugins/srv6-ad/ad.c
+++ b/src/plugins/srv6-ad/ad.c
@@ -112,6 +112,8 @@ srv6_ad_localsid_creation_fn (ip6_sr_localsid_t * localsid)
}
}
+ ls_mem->rw_len = 0;
+
return 0;
}