summaryrefslogtreecommitdiff
path: root/zebra/zebra_nhg.c
diff options
context:
space:
mode:
authorHiroki Shirokura <slank.dev@gmail.com>2021-04-05 13:29:12 +0000
committerMark Stapp <mjs@voltanet.io>2021-06-02 10:24:48 -0400
commiteab0f8f0a202201fcc9757c6097f5c913456ff4d (patch)
tree50a2e5ad4771d4caac42614a67315f826b41e889 /zebra/zebra_nhg.c
parent4ccd40339c232aa87f180c9893b5b929ea8713d8 (diff)
lib,sharpd,zebra: update nexthop object with nh_srv6
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'zebra/zebra_nhg.c')
-rw-r--r--zebra/zebra_nhg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index 84ce97b008..face0ef3bc 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -1007,8 +1007,8 @@ void nhg_ctx_free(struct nhg_ctx **ctx)
nh = nhg_ctx_get_nh(*ctx);
nexthop_del_labels(nh);
- nexthop_del_seg6local(nh);
- nexthop_del_seg6(nh);
+ nexthop_del_srv6_seg6local(nh);
+ nexthop_del_srv6_seg6(nh);
done:
XFREE(MTYPE_NHG_CTX, *ctx);
@@ -1379,8 +1379,8 @@ static struct nhg_hash_entry *depends_find_singleton(const struct nexthop *nh,
/* The copy may have allocated labels; free them if necessary. */
nexthop_del_labels(&lookup);
- nexthop_del_seg6local(&lookup);
- nexthop_del_seg6(&lookup);
+ nexthop_del_srv6_seg6local(&lookup);
+ nexthop_del_srv6_seg6(&lookup);
if (IS_ZEBRA_DEBUG_NHG_DETAIL)
zlog_debug("%s: nh %pNHv => %p (%u)",