From db345cd5de3b5ad3a1fd92a52dd18cd9a6814185 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 15 Oct 2009 11:36:32 -0400 Subject: Set maximum memory to 64M for this page. Fixes #113 --- usr/local/www/services_dhcp.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 96dd735..a1ac8b0 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -31,6 +31,11 @@ require("guiconfig.inc"); +/* 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