diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-15 11:36:32 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-15 11:36:32 -0400 |
commit | db345cd5de3b5ad3a1fd92a52dd18cd9a6814185 (patch) | |
tree | 181b2329491f3f3d0130080d00541739084158d0 /usr/local/www | |
parent | 9c03089271af16b8893fca760f98d1555db3fc0b (diff) | |
download | pfsense-db345cd5de3b5ad3a1fd92a52dd18cd9a6814185.zip pfsense-db345cd5de3b5ad3a1fd92a52dd18cd9a6814185.tar.gz |
Set maximum memory to 64M for this page. Fixes #113
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 |