diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-03-22 10:10:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-22 10:10:33 +0100 |
| commit | 992c42ef011f56551686b7336bedf5c5e6100f2c (patch) | |
| tree | 6ac1fbf7f76d62429a43443a34d29801ab199821 | |
| parent | f0824c57dd1463abb26c532fc58d631b524e281c (diff) | |
| parent | 31200a2963e02642323c592990469861d0cdbc9d (diff) | |
Merge pull request #8301 from donaldsharp/isis_spacing
isisd: Fix extra space after `router isis FOO`
| -rw-r--r-- | isisd/isis_cli.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index fb9721e8b3..039483b9b2 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -136,10 +136,10 @@ void cli_show_router_isis(struct vty *vty, struct lyd_node *dnode, vrf = yang_dnode_get_string(dnode, "./vrf"); vty_out(vty, "!\n"); - vty_out(vty, "router isis %s ", + vty_out(vty, "router isis %s", yang_dnode_get_string(dnode, "./area-tag")); if (!strmatch(vrf, VRF_DEFAULT_NAME)) - vty_out(vty, "vrf %s", yang_dnode_get_string(dnode, "./vrf")); + vty_out(vty, " vrf %s", yang_dnode_get_string(dnode, "./vrf")); vty_out(vty, "\n"); } @@ -395,7 +395,7 @@ void cli_show_ip_isis_ipv4(struct vty *vty, struct lyd_node *dnode, vty_out(vty, " ip router isis %s ", yang_dnode_get_string(dnode, "../area-tag")); if (!strmatch(vrf, VRF_DEFAULT_NAME)) - vty_out(vty, "vrf %s", vrf); + vty_out(vty, " vrf %s", vrf); vty_out(vty, "\n"); } @@ -408,10 +408,10 @@ void cli_show_ip_isis_ipv6(struct vty *vty, struct lyd_node *dnode, if (!yang_dnode_get_bool(dnode, NULL)) vty_out(vty, " no"); - vty_out(vty, " ipv6 router isis %s ", + vty_out(vty, " ipv6 router isis %s", yang_dnode_get_string(dnode, "../area-tag")); if (!strmatch(vrf, VRF_DEFAULT_NAME)) - vty_out(vty, "vrf %s", vrf); + vty_out(vty, " vrf %s", vrf); vty_out(vty, "\n"); } |
