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).
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 7f82fff..72a1f15 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