From 249312abb958089c47cc93f32fec6da266fcf44d Mon Sep 17 00:00:00 2001 From: Emanuele Di Pascale Date: Wed, 25 Mar 2020 16:19:01 +0100 Subject: [PATCH] isisd: fix hello cmds vtysh output once again, for both hello-multiplier and hello-interval the order in which the number and level were shown in the cli_show methods was inverted compared to the vtysh command, which created issues with frr-reload.py. Signed-off-by: Emanuele Di Pascale --- isisd/isis_cli.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index fc70a344c8..2483d26833 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -1456,8 +1456,8 @@ void cli_show_ip_isis_hello_interval(struct vty *vty, struct lyd_node *dnode, if (strmatch(l1, l2)) vty_out(vty, " isis hello-interval %s\n", l1); else { - vty_out(vty, " isis hello-interval %s level-1\n", l1); - vty_out(vty, " isis hello-interval %s level-2\n", l2); + vty_out(vty, " isis hello-interval level-1 %s\n", l1); + vty_out(vty, " isis hello-interval level-2 %s\n", l2); } } @@ -1514,8 +1514,8 @@ void cli_show_ip_isis_hello_multi(struct vty *vty, struct lyd_node *dnode, if (strmatch(l1, l2)) vty_out(vty, " isis hello-multiplier %s\n", l1); else { - vty_out(vty, " isis hello-multiplier %s level-1\n", l1); - vty_out(vty, " isis hello-multiplier %s level-2\n", l2); + vty_out(vty, " isis hello-multiplier level-1 %s\n", l1); + vty_out(vty, " isis hello-multiplier level-2 %s\n", l2); } } -- 2.39.5