diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-15 11:36:14 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-15 11:36:14 -0400 |
commit | d5f5cf26af62467bdadba5be592e3ddbc6ac2df3 (patch) | |
tree | ea21fe6739784669095b7ed4dadaed84a80d4832 /usr/local/www/services_dhcp.php | |
parent | 9974dae5a2b899f4c56e351eecd3745187392784 (diff) | |
download | pfsense-d5f5cf26af62467bdadba5be592e3ddbc6ac2df3.zip pfsense-d5f5cf26af62467bdadba5be592e3ddbc6ac2df3.tar.gz |
Set maximum memory to 64M for this page. Fixes #113
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-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 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 |