]> git.puffer.fish Git - mirror/frr.git/commitdiff
pathd: fix indentation for mpls-te config
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 5 Aug 2021 20:45:44 +0000 (23:45 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 5 Aug 2021 20:45:44 +0000 (23:45 +0300)
Before:
```
segment-routing
 traffic-eng
 mpls-te on
 mpls-te import ospfv2
```

After:
```
segment-routing
 traffic-eng
  mpls-te on
  mpls-te import ospfv2
```

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
pathd/path_ted.c

index 01ada92258d70ce28bcf5f9f6b27689f3def6b1d..d17b5a0aab1d1ba823c984ad743f3360b631206d 100644 (file)
@@ -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;