summaryrefslogtreecommitdiff
path: root/includes/dhcpd.h
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-01-05 18:41:58 +0000
committerTed Lemon <source@isc.org>2000-01-05 18:41:58 +0000
commitde1863a1c4f1286bc7ab8cfb2f80a865a0eb3831 (patch)
tree53987518bd5322c943207ef7afccb0e1b36f4e83 /includes/dhcpd.h
parent438f5f95e642937803a09862df3a705c4ecc5c57 (diff)
downloadisc-dhcp-de1863a1c4f1286bc7ab8cfb2f80a865a0eb3831.tar.gz
- Expose failover_state enum.
- Have place in lease for failover params even if FAILOVER_PROTOCOL is not defined.
Diffstat (limited to 'includes/dhcpd.h')
-rw-r--r--includes/dhcpd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
index 388a08d3..ef274967 100644
--- a/includes/dhcpd.h
+++ b/includes/dhcpd.h
@@ -73,9 +73,7 @@ typedef struct {
u_int8_t *data;
} ddns_fqdn_t;
-#if defined (FAILOVER_PROTOCOL)
-# include "failover.h"
-#endif
+#include "failover.h"
/* A parsing context. */
@@ -250,11 +248,9 @@ struct lease {
struct lease_state *state;
-#if defined (FAILOVER_PROTOCOL)
TIME tstp; /* Time sent to partner. */
TIME tsfp; /* Time sent from partner. */
TIME cltt; /* Client last transaction time. */
-#endif
};
struct lease_state {