summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-15 11:36:14 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-15 11:36:14 -0400
commitd5f5cf26af62467bdadba5be592e3ddbc6ac2df3 (patch)
treeea21fe6739784669095b7ed4dadaed84a80d4832 /usr
parent9974dae5a2b899f4c56e351eecd3745187392784 (diff)
downloadpfsense-d5f5cf26af62467bdadba5be592e3ddbc6ac2df3.zip
pfsense-d5f5cf26af62467bdadba5be592e3ddbc6ac2df3.tar.gz
Set maximum memory to 64M for this page. Fixes #113
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_dhcp.php5
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
OpenPOWER on IntegriCloud