Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isisd: Add missing exit statement to show running-config output #16724

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions isisd/isis_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -2065,6 +2065,12 @@ void cli_show_isis_srv6_locator(struct vty *vty, const struct lyd_node *dnode,
vty_out(vty, " locator %s\n", yang_dnode_get_string(dnode, NULL));
}

void cli_show_isis_srv6_locator_end(struct vty *vty,
const struct lyd_node *dnode)
{
vty_out(vty, " exit\n");
}

/*
* XPath: /frr-isisd:isis/instance/segment-routing-srv6/enabled
*/
Expand Down
1 change: 1 addition & 0 deletions isisd/isis_nb.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ const struct frr_yang_module_info frr_isisd_info = {
.modify = isis_instance_segment_routing_srv6_locator_modify,
.destroy = isis_instance_segment_routing_srv6_locator_destroy,
.cli_show = cli_show_isis_srv6_locator,
.cli_show_end = cli_show_isis_srv6_locator_end,
},
},
{
Expand Down
2 changes: 2 additions & 0 deletions isisd/isis_nb.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ int isis_instance_segment_routing_srv6_locator_destroy(
struct nb_cb_destroy_args *args);
void cli_show_isis_srv6_locator(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults);
void cli_show_isis_srv6_locator_end(struct vty *vty,
const struct lyd_node *dnode);
int isis_instance_segment_routing_srv6_msd_node_msd_max_segs_left_modify(
struct nb_cb_modify_args *args);
int isis_instance_segment_routing_srv6_msd_node_msd_max_end_pop_modify(
Expand Down
Loading