forked from Mirror/frr
ripngd: fix missing "exit" for "router ripng"
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
aaa6c7088e
commit
1db1fbf7a6
|
@ -83,6 +83,11 @@ void cli_show_router_ripng(struct vty *vty, const struct lyd_node *dnode,
|
||||||
vty_out(vty, "\n");
|
vty_out(vty, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cli_show_end_router_ripng(struct vty *vty, const struct lyd_node *dnode)
|
||||||
|
{
|
||||||
|
vty_out(vty, "exit\n");
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XPath: /frr-ripngd:ripngd/instance/allow-ecmp
|
* XPath: /frr-ripngd:ripngd/instance/allow-ecmp
|
||||||
*/
|
*/
|
||||||
|
@ -701,6 +706,7 @@ const struct frr_yang_module_info frr_ripngd_cli_info = {
|
||||||
{
|
{
|
||||||
.xpath = "/frr-ripngd:ripngd/instance",
|
.xpath = "/frr-ripngd:ripngd/instance",
|
||||||
.cbs.cli_show = cli_show_router_ripng,
|
.cbs.cli_show = cli_show_router_ripng,
|
||||||
|
.cbs.cli_show_end = cli_show_end_router_ripng,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.xpath = "/frr-ripngd:ripngd/instance/allow-ecmp",
|
.xpath = "/frr-ripngd:ripngd/instance/allow-ecmp",
|
||||||
|
|
|
@ -107,6 +107,7 @@ void ripngd_instance_timers_apply_finish(struct nb_cb_apply_finish_args *args);
|
||||||
/* Optional 'cli_show' callbacks. */
|
/* Optional 'cli_show' callbacks. */
|
||||||
void cli_show_router_ripng(struct vty *vty, const struct lyd_node *dnode,
|
void cli_show_router_ripng(struct vty *vty, const struct lyd_node *dnode,
|
||||||
bool show_defaults);
|
bool show_defaults);
|
||||||
|
void cli_show_end_router_ripng(struct vty *vty, const struct lyd_node *dnode);
|
||||||
void cli_show_ripng_allow_ecmp(struct vty *vty, const struct lyd_node *dnode,
|
void cli_show_ripng_allow_ecmp(struct vty *vty, const struct lyd_node *dnode,
|
||||||
bool show_defaults);
|
bool show_defaults);
|
||||||
void cli_show_ripng_default_information_originate(struct vty *vty,
|
void cli_show_ripng_default_information_originate(struct vty *vty,
|
||||||
|
|
Loading…
Reference in a new issue