summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2017-05-10 13:11:03 -0400
committerThomas Markwalder <tmark@isc.org>2017-05-10 13:11:03 -0400
commit68507137e1cbd783b6cb7ce84a4805c96af6eb5e (patch)
tree9ba7cc97c309df295161d46c442c3933be852715 /includes
parent2c7ccd41f22943c029f60263b490be606f7f76be (diff)
downloadisc-dhcp-68507137e1cbd783b6cb7ce84a4805c96af6eb5e.tar.gz
[master] Altered v4 lease time handling better handle infinite and large times
Merged in rt41976
Diffstat (limited to 'includes')
-rw-r--r--includes/dhcpd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
index 5a3888d5..5d5e1d0f 100644
--- a/includes/dhcpd.h
+++ b/includes/dhcpd.h
@@ -1588,8 +1588,9 @@ typedef unsigned char option_mask [16];
#define DHCPD_LOG_FACILITY LOG_DAEMON
#endif
-#define MAX_TIME 0x7fffffff
-#define MIN_TIME 0
+#define INFINITE_TIME 0xffffffff
+#define MAX_TIME 0x7fffffff
+#define MIN_TIME 0
#ifdef USE_LOG_PID
/* include the pid in the syslog messages */