summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-01-29 16:06:05 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-01-29 16:06:05 -0200
commitcc6052f00d7042a47fcc69f97f2bc8175ce33468 (patch)
tree42fc9636484adbf7e0a5e19272be7ac8ce6877a5 /usr/local/www/services_dhcp.php
parent49b76122af0846474f65eaf73e0e879e24fb554c (diff)
downloadpfsense-cc6052f00d7042a47fcc69f97f2bc8175ce33468.zip
pfsense-cc6052f00d7042a47fcc69f97f2bc8175ce33468.tar.gz
Initialize $a_pools to fix warnings when saving dhcp settings whith no extra pools
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-xusr/local/www/services_dhcp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 7579aee..fa174f4 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -128,6 +128,7 @@ $act = $_GET['act'];
if (!empty($_POST['act']))
$act = $_POST['act'];
+$a_pools = array();
if (is_array($config['dhcpd'][$if])){
$pool = $_GET['pool'];
OpenPOWER on IntegriCloud