summaryrefslogtreecommitdiff
path: root/isisd
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2012-11-27 01:10:28 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2012-12-12 15:38:07 +0100
commitf818c8f3fb9c98490df29e99aa9cddde8e0296d5 (patch)
tree1b5bea6bd8996e8ab5349fc2b2abfa0dc7ac2ca4 /isisd
parentde543de3d7682eaeb8c9b657e9a3bb4bcd17993d (diff)
isisd: save metric-style narrow
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>
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isisd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index e8e3d9f0..47675f0a 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -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)
{