summaryrefslogtreecommitdiff
path: root/includes/dhcpd.h
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2016-07-07 14:11:26 -0400
committerThomas Markwalder <tmark@isc.org>2016-07-07 14:11:26 -0400
commita5252220fbb8cc144b3706d6a391a004ad7924d4 (patch)
tree6cb93b7235d1cb5e90073e2ef88ed9124f8823f5 /includes/dhcpd.h
parentad06e7ba21ae7eb243de6caab6d1aac4d6681daa (diff)
downloadisc-dhcp-a5252220fbb8cc144b3706d6a391a004ad7924d4.tar.gz
[master] Add abandon-lease-time parameter
Merges in rt41815.
Diffstat (limited to 'includes/dhcpd.h')
-rw-r--r--includes/dhcpd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
index d1497928..261714dc 100644
--- a/includes/dhcpd.h
+++ b/includes/dhcpd.h
@@ -798,6 +798,7 @@ struct lease_state {
#define SV_SERVER_ID_CHECK 86
#define SV_PREFIX_LEN_MODE 87
#define SV_DHCPV6_SET_TEE_TIMES 88
+#define SV_ABANDON_LEASE_TIME 89
#if !defined (DEFAULT_PING_TIMEOUT)
# define DEFAULT_PING_TIMEOUT 1
@@ -846,6 +847,10 @@ struct lease_state {
# define MIN_LEASE_WRITE 15
#endif
+#if !defined (DEFAULT_ABANDON_LEASE_TIME)
+# define DEFAULT_ABANDON_LEASE_TIME 86400
+#endif
+
#define PLM_IGNORE 0
#define PLM_PREFER 1
#define PLM_EXACT 2
@@ -2069,6 +2074,7 @@ extern int server_id_check;
extern int prefix_length_mode;
extern int authoring_byte_order;
extern int lease_id_format;
+extern u_int32_t abandon_lease_time;
extern const char *path_dhcpd_conf;
extern const char *path_dhcpd_db;