[aadk-commits] jlyons: udhcp/trunk r749 - /udhcp/trunk/files.c

SVN commits to the AADK repository aadk-commits at lists.digium.com
Thu Jan 31 15:35:42 CST 2008


Author: jlyons
Date: Thu Jan 31 15:35:42 2008
New Revision: 749

URL: http://svn.digium.com/view/aadk?view=rev&rev=749
Log:
Default max_leases to 0 if not set in config file, this way no change to dhcpinform.conf

Modified:
    udhcp/trunk/files.c

Modified: udhcp/trunk/files.c
URL: http://svn.digium.com/view/aadk/udhcp/trunk/files.c?view=diff&rev=749&r1=748&r2=749
==============================================================================
--- udhcp/trunk/files.c (original)
+++ udhcp/trunk/files.c Thu Jan 31 15:35:42 2008
@@ -211,7 +211,7 @@
 	{"option",	read_opt, &(server_config.options),	""},
 	{"opt",		read_opt, &(server_config.options),	""},
 #ifdef ALLOW_LEASES
-	{"max_leases",	read_u32, &(server_config.max_leases),	"254"},
+	{"max_leases",	read_u32, &(server_config.max_leases),	"0"},
 #endif
 	{"remaining",	read_yn,  &(server_config.remaining),	"yes"},
 	{"auto_time",	read_u32, &(server_config.auto_time),	"7200"},




More information about the aadk-commits mailing list