Skip to content

Commit

Permalink
Merge pull request #16540 from FRRouting/mergify/bp/stable/10.1/pr-16531
Browse files Browse the repository at this point in the history
ripd: fix show run output for distribute-list (backport #16531)
  • Loading branch information
donaldsharp authored Aug 9, 2024
2 parents 4541aba + d2e2d69 commit 0cb3342
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 16 additions & 0 deletions ripd/rip_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,22 @@ const struct frr_yang_module_info frr_ripd_cli_info = {
.xpath = "/frr-ripd:ripd/instance/non-passive-interface",
.cbs.cli_show = cli_show_rip_non_passive_interface,
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/in/access-list",
.cbs.cli_show = group_distribute_list_ipv4_cli_show,
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/out/access-list",
.cbs.cli_show = group_distribute_list_ipv4_cli_show,
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/in/prefix-list",
.cbs.cli_show = group_distribute_list_ipv4_cli_show,
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/out/prefix-list",
.cbs.cli_show = group_distribute_list_ipv4_cli_show,
},
{
.xpath = "/frr-ripd:ripd/instance/redistribute",
.cbs.cli_show = cli_show_rip_redistribute,
Expand Down
4 changes: 0 additions & 4 deletions ripd/rip_nb.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,31 +143,27 @@ const struct frr_yang_module_info frr_ripd_info = {
.cbs = {
.modify = group_distribute_list_ipv4_modify,
.destroy = group_distribute_list_ipv4_destroy,
.cli_show = group_distribute_list_ipv4_cli_show,
}
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/out/access-list",
.cbs = {
.modify = group_distribute_list_ipv4_modify,
.destroy = group_distribute_list_ipv4_destroy,
.cli_show = group_distribute_list_ipv4_cli_show,
}
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/in/prefix-list",
.cbs = {
.modify = group_distribute_list_ipv4_modify,
.destroy = group_distribute_list_ipv4_destroy,
.cli_show = group_distribute_list_ipv4_cli_show,
}
},
{
.xpath = "/frr-ripd:ripd/instance/distribute-list/out/prefix-list",
.cbs = {
.modify = group_distribute_list_ipv4_modify,
.destroy = group_distribute_list_ipv4_destroy,
.cli_show = group_distribute_list_ipv4_cli_show,
}
},
{
Expand Down

0 comments on commit 0cb3342

Please sign in to comment.