summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/eigrp.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2015-10-04 22:54:39 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2015-10-04 22:54:39 +0000
commit7b0f05c4daaae79b9d3d662bb18ef3d2b4468caa (patch)
tree835356f317a4d95c50dc2b9a6f26bb937a0197d1 /usr.sbin/eigrpd/eigrp.h
parent769760ad9bb340fb5802030bcc9be839d3008489 (diff)
Add option to configure or disable the DUAL active timeout.
Diffstat (limited to 'usr.sbin/eigrpd/eigrp.h')
-rw-r--r--usr.sbin/eigrpd/eigrp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/eigrpd/eigrp.h b/usr.sbin/eigrpd/eigrp.h
index b6bd3cfd06e..359585b730e 100644
--- a/usr.sbin/eigrpd/eigrp.h
+++ b/usr.sbin/eigrpd/eigrp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrp.h,v 1.1 2015/10/02 04:26:47 renato Exp $ */
+/* $OpenBSD: eigrp.h,v 1.2 2015/10/04 22:54:38 renato Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -38,8 +38,6 @@
#define RTP_ACK_TIMEOUT 100000
-#define EIGRP_ACTIVE_TIMEOUT 180
-
#define EIGRP_VERSION_MAJOR 1
#define EIGRP_VERSION_MINOR 2
@@ -78,6 +76,10 @@
#define MIN_KVALUE 0
#define MAX_KVALUE 254
+#define DEFAULT_ACTIVE_TIMEOUT 3
+#define MIN_ACTIVE_TIMEOUT 0
+#define MAX_ACTIVE_TIMEOUT 65535
+
#define DEFAULT_MAXIMUM_HOPS 100
#define MIN_MAXIMUM_HOPS 1
#define MAX_MAXIMUM_HOPS 255