From d5f5cf26af62467bdadba5be592e3ddbc6ac2df3 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 15 Oct 2009 11:36:14 -0400 Subject: Set maximum memory to 64M for this page. Fixes #113 --- usr/local/www/services_dhcp.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'usr/local') diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 549f596..0150bf0 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -47,6 +47,11 @@ if(!$g['services_dhcp_server_enable']) { exit; } +/* Fix failover DHCP problem + * http://article.gmane.org/gmane.comp.security.firewalls.pfsense.support/18749 + */ +ini_set("memory_limit","64M"); + /* This function will remove entries from dhcpd.leases that would otherwise * overlap with static DHCP reservations. If we don't clean these out, * then DHCP will print a warning in the logs about a duplicate lease -- cgit v1.1