diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-03-25 16:19:01 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-03-25 16:35:29 +0100 |
commit | 249312abb958089c47cc93f32fec6da266fcf44d (patch) | |
tree | 3297bb1ba7382c9649c84f815bbbe52e4a1ee334 | |
parent | Merge pull request #6079 from sarav511/regstop_exp (diff) | |
download | frr-249312abb958089c47cc93f32fec6da266fcf44d.tar.xz frr-249312abb958089c47cc93f32fec6da266fcf44d.zip |
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 <emanuele@voltanet.io>
-rw-r--r-- | isisd/isis_cli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index fc70a344c..2483d2683 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); } } |