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>
This commit is contained in:
Emanuele Di Pascale 2020-03-25 16:19:01 +01:00
parent 8fcca5024f
commit 249312abb9

View File

@ -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);
}
}