From abacf8ad0d8844685e5cd76645a34ef2b8da3253 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Fri, 1 Dec 2017 09:13:26 -0500 Subject: [master] Use 0 instead of -1 to indicate empty heap index Merges in rt46719. --- includes/dhcpd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'includes') 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. -- cgit v1.2.1