summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-14 20:42:29 -0600
committerk-paulius <k.dash.paulius@gmail.com>2016-02-14 20:42:29 -0600
commitdde3e09d4ea37bad0887da55444d1fa6545132cd (patch)
tree5a650a5d70c445ae3ebda18cf64ac02eda4593d9 /src/usr
parent9c06758b1fa7f678b3da8024ed1126627958d69b (diff)
downloadpfsense-dde3e09d4ea37bad0887da55444d1fa6545132cd.zip
pfsense-dde3e09d4ea37bad0887da55444d1fa6545132cd.tar.gz
Fix DHCPv6 Server detection on DHCPv6 Relay page.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/services_dhcpv6_relay.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcpv6_relay.php b/src/usr/local/www/services_dhcpv6_relay.php
index 61cb193..ba83197 100644
--- a/src/usr/local/www/services_dhcpv6_relay.php
+++ b/src/usr/local/www/services_dhcpv6_relay.php
@@ -92,7 +92,7 @@ $iflist = array_intersect_key(
*/
$dhcpd_enabled = false;
if (is_array($config['dhcpdv6'])) {
- foreach ($config['dhcpdv6'] as $dhcp) {
+ foreach ($config['dhcpdv6'] as $dhcpif => $dhcp) {
if (isset($dhcp['enable']) && isset($config['interfaces'][$dhcpif]['enable'])) {
$dhcpd_enabled = true;
break;
OpenPOWER on IntegriCloud