summaryrefslogtreecommitdiff
path: root/pathd/path_cli.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-05 23:47:27 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-08-05 23:47:27 +0300
commit882bae36a0fd8287fd09300e4cff1a372a61dbe6 (patch)
treee66db4c2ed6427ddd6dd0cd1acc3e38b1deb1b9e /pathd/path_cli.c
parentdfbabd45f8faaf4b697778ecf89951099797ce9b (diff)
pathd: fix indentation and redundant space in index config
Before: ``` segment-routing traffic-eng segment-list SL1 index 10 mpls label 16010 ``` After: ``` segment-routing traffic-eng segment-list SL1 index 10 mpls label 16010 ``` Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'pathd/path_cli.c')
-rw-r--r--pathd/path_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_cli.c b/pathd/path_cli.c
index da41c96414..d517d75e47 100644
--- a/pathd/path_cli.c
+++ b/pathd/path_cli.c
@@ -550,7 +550,7 @@ void cli_show_srte_segment_list_segment(struct vty *vty,
struct lyd_node *dnode,
bool show_defaults)
{
- vty_out(vty, " index %s ", yang_dnode_get_string(dnode, "./index"));
+ vty_out(vty, " index %s", yang_dnode_get_string(dnode, "./index"));
if (yang_dnode_exists(dnode, "./sid-value")) {
vty_out(vty, " mpls label %s",
yang_dnode_get_string(dnode, "./sid-value"));