diff --git a/doc/user/pathd.rst b/doc/user/pathd.rst index f27360cca7..bdbf895299 100644 --- a/doc/user/pathd.rst +++ b/doc/user/pathd.rst @@ -52,10 +52,10 @@ Example: index 20 mpls label 16030 ! segment-list SL2 - index 10 nai prefix 10.1.2.1/32 iface 1 - index 20 nai adjacency 10.1.20.1 10.1.20.2 - index 30 nai prefix 10.10.10.5/32 algorithm 0 - index 40 mpls label 18001 + index 10 nai prefix 10.1.2.1/32 iface 1 + index 20 nai adjacency 10.1.20.1 10.1.20.2 + index 30 nai prefix 10.10.10.5/32 algorithm 0 + index 40 mpls label 18001 ! policy color 1 endpoint 1.1.1.1 name default @@ -70,7 +70,7 @@ Example: ! pcep pce-config GROUP1 - source-address 1.1.1.1 + source-address ip 1.1.1.1 tcp-md5-auth secret timer keep-alive 30 ! 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")); diff --git a/pathd/path_ted.c b/pathd/path_ted.c index 01ada92258..d17b5a0aab 100644 --- a/pathd/path_ted.c +++ b/pathd/path_ted.c @@ -516,16 +516,16 @@ uint32_t path_ted_config_write(struct vty *vty) { if (ted_state_g.enabled) { - vty_out(vty, " mpls-te on\n"); + vty_out(vty, " mpls-te on\n"); switch (ted_state_g.import) { case IMPORT_ISIS: - vty_out(vty, " mpls-te import isis\n"); + vty_out(vty, " mpls-te import isis\n"); break; case IMPORT_OSPFv2: - vty_out(vty, " mpls-te import ospfv2\n"); + vty_out(vty, " mpls-te import ospfv2\n"); break; case IMPORT_OSPFv3: - vty_out(vty, " mpls-te import ospfv3\n"); + vty_out(vty, " mpls-te import ospfv3\n"); break; default: break;