summaryrefslogtreecommitdiff
path: root/isisd/isisd.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-10-01 06:03:04 +0000
committerhasso <hasso>2005-10-01 06:03:04 +0000
commit13fb40ac99823c405137a42d7666785fd7ac641a (patch)
tree2332722bf346447bd5bfebf3fdc0fb97dc85502b /isisd/isisd.c
parent10fc9183686d9d7183949c9e74a1c51d98ddb67e (diff)
* isis_adjacency.c: Stop expire timer while deleting adjacency.
* isis_events.c: Stop pseudo LSP thread while resigning circuit from level. * isis_route.c: Fix compiling with EXTREME_DEBUG. Mark route as not in sync with zebra if it's changed. * isis_spf.c: Schedule route validating etc even if tent was empty. It's probably because we just don't have any adjacencies. * isisd.c: Write minimum spf interval into configuration.
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 84e1c889..c5c2153f 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -1974,6 +1974,31 @@ isis_config_write (struct vty *vty)
write++;
}
}
+ /* Minimum SPF interval. */
+ if (area->min_spf_interval[0] == area->min_spf_interval[1])
+ {
+ if (area->min_spf_interval[0] != MINIMUM_SPF_INTERVAL)
+ {
+ vty_out (vty, " spf-interval %d%s",
+ area->min_spf_interval[0], VTY_NEWLINE);
+ write++;
+ }
+ }
+ else
+ {
+ if (area->min_spf_interval[0] != MINIMUM_SPF_INTERVAL)
+ {
+ vty_out (vty, " spf-interval level-1 %d%s",
+ area->min_spf_interval[0], VTY_NEWLINE);
+ write++;
+ }
+ if (area->min_spf_interval[1] != MINIMUM_SPF_INTERVAL)
+ {
+ vty_out (vty, " spf-interval level-2 %d%s",
+ area->min_spf_interval[1], VTY_NEWLINE);
+ write++;
+ }
+ }
/* Authentication passwords. */
if (area->area_passwd.len > 0)
{