summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul>2003-05-29 17:26:24 +0000
committerpaul <paul>2003-05-29 17:26:24 +0000
commit320413318b85fca8e6fd5893aa8dc6519b735865 (patch)
treef373e3f25910eeea25d8c67e7fa7ed7626f31975
parent6baeabacda5fb8ec0c31656c8d84a41df5293b4b (diff)
downloadquagga-320413318b85fca8e6fd5893aa8dc6519b735865.tar.bz2
quagga-320413318b85fca8e6fd5893aa8dc6519b735865.tar.xz
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).
-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