summaryrefslogtreecommitdiff
path: root/includes/dhcpd.h
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2017-12-01 09:13:26 -0500
committerThomas Markwalder <tmark@isc.org>2017-12-01 09:13:26 -0500
commitabacf8ad0d8844685e5cd76645a34ef2b8da3253 (patch)
treec2d01ae49a35350ee58eff231b67a0a889024143 /includes/dhcpd.h
parentecf9f77b988f613d773603427d19e34c1c60f98a (diff)
downloadisc-dhcp-abacf8ad0d8844685e5cd76645a34ef2b8da3253.tar.gz
[master] Use 0 instead of -1 to indicate empty heap index
Merges in rt46719.
Diffstat (limited to 'includes/dhcpd.h')
-rw-r--r--includes/dhcpd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
index aac2c108..c83dc9a6 100644
--- a/includes/dhcpd.h
+++ b/includes/dhcpd.h
@@ -1622,8 +1622,9 @@ struct iasubopt {
*/
#define EXPIRED_IPV6_CLEANUP_TIME (60*60)
- int heap_index; /* index into heap, or -1
- (internal use only) */
+ /* index into heaps, or -1 (internal use only) */
+ int active_index;
+ int inactive_index;
/*
* A pointer to the state of the ddns update for this lease.