[quagga-dev 10024] [PATCH 5/7] isisd: save metric-style narrow

David Lamparter equinox at opensourcerouting.org
Tue Nov 27 02:10:28 GMT 2012


From: Christian Franke <chris at opensourcerouting.org>

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 at opensourcerouting.org>
Signed-off-by: David Lamparter <equinox at opensourcerouting.org>
---
 isisd/isisd.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/isisd/isisd.c b/isisd/isisd.c
index e8e3d9f..47675f0 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)
 	  {
-- 
1.7.8.6




More information about the Quagga-dev mailing list