summaryrefslogtreecommitdiffstats
path: root/sharpd
diff options
context:
space:
mode:
authorHiroki Shirokura <slank.dev@gmail.com>2021-04-05 15:29:12 +0200
committerMark Stapp <mjs@voltanet.io>2021-06-02 16:24:48 +0200
commiteab0f8f0a202201fcc9757c6097f5c913456ff4d (patch)
tree50a2e5ad4771d4caac42614a67315f826b41e889 /sharpd
parentdoc: update srv6 cli guide (diff)
downloadfrr-eab0f8f0a202201fcc9757c6097f5c913456ff4d.tar.xz
frr-eab0f8f0a202201fcc9757c6097f5c913456ff4d.zip
lib,sharpd,zebra: update nexthop object with nh_srv6
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'sharpd')
-rw-r--r--sharpd/sharp_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c
index 7cd9b959f..7482a6da6 100644
--- a/sharpd/sharp_vty.c
+++ b/sharpd/sharp_vty.c
@@ -407,7 +407,7 @@ DEFPY (install_seg6_routes,
sg.r.nhop.vrf_id = vrf->vrf_id;
sg.r.nhop_group.nexthop = &sg.r.nhop;
- nexthop_add_seg6(&sg.r.nhop, &seg6_seg);
+ nexthop_add_srv6_seg6(&sg.r.nhop, &seg6_seg);
SET_FLAG(route_flags, ZEBRA_FLAG_SEG6_ROUTE);
sg.r.vrf_id = vrf->vrf_id;
@@ -504,7 +504,7 @@ DEFPY (install_seg6local_routes,
sg.r.nhop.ifindex = ifname2ifindex(seg6l_oif, vrf->vrf_id);
sg.r.nhop.vrf_id = vrf->vrf_id;
sg.r.nhop_group.nexthop = &sg.r.nhop;
- nexthop_add_seg6local(&sg.r.nhop, action, &ctx);
+ nexthop_add_srv6_seg6local(&sg.r.nhop, action, &ctx);
SET_FLAG(route_flags, ZEBRA_FLAG_SEG6LOCAL_ROUTE);
sg.r.vrf_id = vrf->vrf_id;