mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-08 11:05:34 +00:00
ripd: fix show run output for distribute-list
CLI show callbacks should be defined in frr_ripd_cli_info instead of
frr_ripd_info, because only the former is loaded by mgmtd and only its
callbacks are getting called for config output.
Signed-off-by: Igor Ryzhov <idryzhov@gmail.com>
(cherry picked from commit 25d94ec3ee)
This commit is contained in:
parent
4541aba673
commit
d2e2d69477
@ -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,
|
||||
|
||||
@ -143,7 +143,6 @@ 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,
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -151,7 +150,6 @@ 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,
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -159,7 +157,6 @@ 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,
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -167,7 +164,6 @@ 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,
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user