summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2014-09-08 10:31:51 -0400
committerThomas Markwalder <tmark@isc.org>2014-09-08 10:31:51 -0400
commite57770a2de129caac7d0720d8c7ec82d433fa0e2 (patch)
treeed1ff02f13209d72428dc46daa43fd2d697e967a /includes
parenta12e4941e6be190385c3025f5ace22e7ac2d2844 (diff)
downloadisc-dhcp-e57770a2de129caac7d0720d8c7ec82d433fa0e2.tar.gz
[v4_1_esv] Added check for invalid failover message type.
Merges in rt36653
Diffstat (limited to 'includes')
-rw-r--r--includes/failover.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/failover.h b/includes/failover.h
index 47c9ebcb..724773d8 100644
--- a/includes/failover.h
+++ b/includes/failover.h
@@ -151,6 +151,8 @@ typedef struct {
#define FTM_CONTACT 11
#define FTM_DISCONNECT 12
+#define FTM_MAX FTM_DISCONNECT
+
/* Reject reasons from Section 12.21: */
#define FTR_ILLEGAL_IP_ADDR 1
#define FTR_FATAL_CONFLICT 2