summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorpaul <paul>2003-05-29 17:26:24 +0000
committerpaul <paul>2003-05-29 17:26:24 +0000
commit800d61556cf73b51f90e2fe7e31a52d2c587a95d (patch)
treea7e3b07a7f3064a65b251107fcafb02e8a82744a /ospfd
parent9bca8ebc4fcc369ad17b9a8caf8b14e62ad87e4a (diff)
ospfd/ospfd.h: Change delay and holdtime to 1s. More appropriate values for
the class of machines which zebra runs on than the original defaults which were taken from IOS (and even IOS uses much lower times these days). Lower values greatly help with convergence. Ideally, we'd use even lower times, but thread_add_timer() api will need to be modified to use milliseconds. (eg JunOS uses 100ms for delay, and 700ms for hold time, iirc from Hasso).
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospfd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 7f82fffb..72a1f150 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -86,8 +86,8 @@
#define OSPF_AUTH_CMD_NOTSEEN -2
/* OSPF SPF timer values. */
-#define OSPF_SPF_DELAY_DEFAULT 5
-#define OSPF_SPF_HOLDTIME_DEFAULT 10
+#define OSPF_SPF_DELAY_DEFAULT 1
+#define OSPF_SPF_HOLDTIME_DEFAULT 1
/* OSPF interface default values. */
#define OSPF_OUTPUT_COST_DEFAULT 10