]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use compact leases by default.
authorTed Lemon <source@isc.org>
Thu, 6 Jul 2000 06:21:08 +0000 (06:21 +0000)
committerTed Lemon <source@isc.org>
Thu, 6 Jul 2000 06:21:08 +0000 (06:21 +0000)
includes/site.h

index 8a6210b5e52950c75b5cf7142310b4bfd42a10c3..d3c084b63795419f02fd2fdbf57011442f703c0c 100644 (file)
@@ -50,7 +50,7 @@
 /* Define this if you want exhaustive (and very slow) checking of the
    malloc pool for corruption. */
 
-/* #define DEBUG_MALLOC_POOL */
+#define DEBUG_MALLOC_POOL
 
 /* Define this if you want to maintain a history of the last N operations
    that changed reference counts on objects.   This can be used to debug
    allocation error is detected (i.e., something that would cause a
    memory leak rather than a memory smash). */
 
-/* #define POINTER_DEBUG */
+#define POINTER_DEBUG
 
 /* Define this if you want debugging output for DHCP failover protocol
    messages. */
 
-/* #define DEBUG_FAILOVER_MESSAGES */
+#define DEBUG_FAILOVER_MESSAGES
 
 /* Define this if you want debugging output for DHCP failover protocol
    lease assignment timing. */
 
-/* #define DEBUG_FAILOVER_TIMING */
+#define DEBUG_FAILOVER_TIMING
 
 /* Define this if you want DHCP failover protocol support in the DHCP
    server. */
 /* Define this to change the logging facility used by dhcpd. */
 
 /* #define DHCPD_LOG_FACILITY LOG_DAEMON */
+
+/* Define this if you aren't debugging and you want to save memory
+   (potentially a _lot_ of memory) by allocating leases in chunks rather
+   than one at a time. */
+
+#define COMPACT_LEASES