]> git.puffer.fish Git - matthieu/frr.git/commitdiff
isisd: save metric-style narrow
authorChristian Franke <chris@opensourcerouting.org>
Tue, 27 Nov 2012 01:10:28 +0000 (01:10 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 12 Dec 2012 14:38:07 +0000 (15:38 +0100)
isisd defaults to wide metric style. So if narrow metric style is
configured, a matching setting should be written to the configuration,
allowing a narrow metric-style setting to be saved.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
isisd/isisd.c

index e8e3d9f0ad9f043c8821e8f80b99848b531da480..47675f0af5c04b77583533a26295653f38955a6d 100644 (file)
@@ -2857,6 +2857,11 @@ isis_config_write (struct vty *vty)
              vty_out (vty, " metric-style transition%s", VTY_NEWLINE);
            write++;
          }
+       else
+         {
+           vty_out (vty, " metric-style narrow%s", VTY_NEWLINE);
+           write++;
+         }
        /* ISIS - overload-bit */
        if (area->overload_bit)
          {