diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-02-16 08:22:43 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-02-16 08:22:43 +0000 |
commit | 7147f61edc347ecf8bf6a0313c08209a0fe5bcdd (patch) | |
tree | f73c359137af42aebbfb58aca2e4503d80ffdb1c /usr.sbin/ospfd/ospf.h | |
parent | 6c7620d6fa425688f777ffe28116e5aa22c10cea (diff) |
allow spf-delay and spf-holdtime to be specified in msec so ospfd can
better respond to rapid topology changes.
developed while working with joshua atterbury
ok claudio@ as part of a larger diff.
Diffstat (limited to 'usr.sbin/ospfd/ospf.h')
-rw-r--r-- | usr.sbin/ospfd/ospf.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.sbin/ospfd/ospf.h b/usr.sbin/ospfd/ospf.h index 5b65d7758b8..cb950898a61 100644 --- a/usr.sbin/ospfd/ospf.h +++ b/usr.sbin/ospfd/ospf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf.h,v 1.16 2006/12/07 19:14:27 claudio Exp $ */ +/* $OpenBSD: ospf.h,v 1.17 2010/02/16 08:22:42 dlg Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -60,13 +60,15 @@ #define DEFAULT_NBR_TMOUT 86400 /* 24 hours */ -#define DEFAULT_SPF_DELAY 1 -#define MIN_SPF_DELAY 1 -#define MAX_SPF_DELAY 10 +/* msec */ +#define DEFAULT_SPF_DELAY 1000 +#define MIN_SPF_DELAY 10 +#define MAX_SPF_DELAY 10000 -#define DEFAULT_SPF_HOLDTIME 5 -#define MIN_SPF_HOLDTIME 1 -#define MAX_SPF_HOLDTIME 5 +/* msec */ +#define DEFAULT_SPF_HOLDTIME 5000 +#define MIN_SPF_HOLDTIME 10 +#define MAX_SPF_HOLDTIME 5000 #define MIN_MD_ID 0 #define MAX_MD_ID 255 |