diff options
author | Thomas Markwalder <tmark@isc.org> | 2017-12-01 09:13:26 -0500 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2017-12-01 09:13:26 -0500 |
commit | abacf8ad0d8844685e5cd76645a34ef2b8da3253 (patch) | |
tree | c2d01ae49a35350ee58eff231b67a0a889024143 /includes/dhcpd.h | |
parent | ecf9f77b988f613d773603427d19e34c1c60f98a (diff) | |
download | isc-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.h | 5 |
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. |