summaryrefslogtreecommitdiff
path: root/pathd/path_cli.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-05 23:47:27 +0300
committermergify-bot <noreply@mergify.io>2021-08-08 17:48:15 +0000
commit8e4bbbf2740fabfaba174a87b27c40982e94e715 (patch)
tree856a894c15526882545ed3b18abbdd14ad471a82 /pathd/path_cli.c
parentbd1e1569dc5fc1a7b2cdbc22b116d3bc640e40b5 (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> (cherry picked from commit 882bae36a0fd8287fd09300e4cff1a372a61dbe6)
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"));