summaryrefslogtreecommitdiffstats
path: root/sharpd
diff options
context:
space:
mode:
authorHiroki Shirokura <slank.dev@gmail.com>2021-05-05 12:37:55 +0200
committerMark Stapp <mjs@voltanet.io>2021-06-02 16:24:48 +0200
commit2ba6be5b24c9c572d167248004fb1e3c4b57e0a2 (patch)
tree2e44e389fffeff103c38090ed1732c8987f78dcb /sharpd
parent*: delete ZEBRA_FLAG_SEG6*_ROUTE and add ZAPI_NEXTHOP_FLAG_SEG6* (diff)
downloadfrr-2ba6be5b24c9c572d167248004fb1e3c4b57e0a2.tar.xz
frr-2ba6be5b24c9c572d167248004fb1e3c4b57e0a2.zip
bgpd,sharpd,zebra: fix code style
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'sharpd')
-rw-r--r--sharpd/sharp_vty.c7
-rw-r--r--sharpd/sharp_zebra.h7
2 files changed, 6 insertions, 8 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c
index 1a3c5f450..250151b1f 100644
--- a/sharpd/sharp_vty.c
+++ b/sharpd/sharp_vty.c
@@ -505,9 +505,10 @@ DEFPY (install_seg6local_routes,
nexthop_add_srv6_seg6local(&sg.r.nhop, action, &ctx);
sg.r.vrf_id = vrf->vrf_id;
- sharp_install_routes_helper(&sg.r.orig_prefix, sg.r.vrf_id, sg.r.inst, 0,
- &sg.r.nhop_group, &sg.r.backup_nhop_group,
- routes, route_flags, sg.r.opaque);
+ sharp_install_routes_helper(&sg.r.orig_prefix, sg.r.vrf_id, sg.r.inst,
+ 0, &sg.r.nhop_group,
+ &sg.r.backup_nhop_group, routes,
+ route_flags, sg.r.opaque);
return CMD_SUCCESS;
}
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h
index 45e26a9b3..49f11a67e 100644
--- a/sharpd/sharp_zebra.h
+++ b/sharpd/sharp_zebra.h
@@ -66,11 +66,8 @@ extern void sharp_zebra_register_te(void);
extern void sharp_redistribute_vrf(struct vrf *vrf, int source);
-extern int sharp_zebra_srv6_manager_get_locator_chunk(const char* locator_name);
-extern int sharp_zebra_srv6_manager_release_locator_chunk(const char *locator_name);
-extern int sharp_zebra_srv6_manager_get_locator_chunk(const char *locator_name);
-extern int sharp_zebra_srv6_manager_release_locator_chunk(
- const char *locator_name);
+extern int sharp_zebra_srv6_manager_get_locator_chunk(const char *lname);
+extern int sharp_zebra_srv6_manager_release_locator_chunk(const char *lname);
extern void sharp_install_seg6local_route_helper(struct prefix *p,
uint8_t instance,
enum seg6local_action_t act,