summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index fd597ab..4ca7642 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -51,8 +51,8 @@ require_once("config.gui.inc");
/* DNS ReBinding attack prevention. http://redmine.pfsense.org/issues/708 */
$found_host = false;
-if($config['dyndns'])
- foreach($config['dyndns'] as $dyndns)
+if($config['dyndnses']['dyndns'])
+ foreach($config['dyndnses']['dyndns'] as $dyndns)
if($dyndns['host'] == $_SERVER['HTTP_HOST'] or $dyndns['host'] == $_SERVER['SERVER_ADDR'])
$found_host = true;
if($found_host == false) {
OpenPOWER on IntegriCloud