summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2015-11-08 23:21:41 +0100
committerheper <heper@users.noreply.github.com>2015-11-08 23:21:41 +0100
commit6303601ee2a0d7ad66a51697a59b76f827b23ffa (patch)
tree3fd7bbbcf74463ecc5d818de4fc83599c5b43e2f /src/usr/local/www/services_dhcp.php
parentc9be91cb1ae893bd905aaabc8ba05b1d251dc0fd (diff)
downloadpfsense-6303601ee2a0d7ad66a51697a59b76f827b23ffa.zip
pfsense-6303601ee2a0d7ad66a51697a59b76f827b23ffa.tar.gz
add enable_rrd_graphing to $_post
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r--src/usr/local/www/services_dhcp.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index f9606ac..2376a44 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -70,6 +70,8 @@
require("guiconfig.inc");
require_once("filter.inc");
+require_once('rrd.inc');
+require_once("shaper.inc");
if (!$g['services_dhcp_server_enable']) {
header("Location: /");
@@ -569,6 +571,7 @@ if (isset($_POST['submit'])) {
unset($dhcpdconf['statsgraph']);
if ($_POST['statsgraph']) {
$dhcpdconf['statsgraph'] = $_POST['statsgraph'];
+ enable_rrd_graphing();
}
// Handle the custom options rowhelper
OpenPOWER on IntegriCloud