Merge pull request #6091 from volta-networks/fix_isis_show_hello

isisd: fix more mismatches between vty command and show config
This commit is contained in:
Quentin Young 2020-03-25 13:05:34 -04:00 committed by GitHub
commit b37bbdbc81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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