[aadk-commits] kpfleming: udhcp/trunk r705 - /udhcp/trunk/files.c

SVN commits to the AADK repository aadk-commits at lists.digium.com
Tue Jan 8 14:23:23 CST 2008


Author: kpfleming
Date: Tue Jan  8 14:23:23 2008
New Revision: 705

URL: http://svn.digium.com/view/aadk?view=rev&rev=705
Log:
use compile-time option to completely disallow serving of leases

Modified:
    udhcp/trunk/files.c

Modified: udhcp/trunk/files.c
URL: http://svn.digium.com/view/aadk/udhcp/trunk/files.c?view=diff&rev=705&r1=704&r2=705
==============================================================================
--- udhcp/trunk/files.c (original)
+++ udhcp/trunk/files.c Tue Jan  8 14:23:23 2008
@@ -210,7 +210,9 @@
 	{"interface",	read_str, &(server_config.interface),	"eth0"},
 	{"option",	read_opt, &(server_config.options),	""},
 	{"opt",		read_opt, &(server_config.options),	""},
+#if defined(ALLOW_LEASES)
 	{"max_leases",	read_u32, &(server_config.max_leases),	"254"},
+#endif
 	{"remaining",	read_yn,  &(server_config.remaining),	"yes"},
 	{"auto_time",	read_u32, &(server_config.auto_time),	"7200"},
 	{"decline_time",read_u32, &(server_config.decline_time),"3600"},




More information about the aadk-commits mailing list