diff options
author | Warren Baker <warren@decoy.co.za> | 2013-10-08 10:05:51 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2013-10-08 10:05:51 +0200 |
commit | ec6f62c13304169f44ee47d21a09373cf6f4fd22 (patch) | |
tree | 9ce78b4de2dbfcda28196c50cfd365f24ead6b98 /config/unbound/unbound.inc | |
parent | 6afbe7bd09a996a49abee197c321b16335f2d21a (diff) | |
download | pfsense-packages-ec6f62c13304169f44ee47d21a09373cf6f4fd22.tar.gz pfsense-packages-ec6f62c13304169f44ee47d21a09373cf6f4fd22.tar.bz2 pfsense-packages-ec6f62c13304169f44ee47d21a09373cf6f4fd22.zip |
Fix variable name. Fixes #3056
Diffstat (limited to 'config/unbound/unbound.inc')
-rw-r--r-- | config/unbound/unbound.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc index 9c38fa2e..3e7588ea 100644 --- a/config/unbound/unbound.inc +++ b/config/unbound/unbound.inc @@ -855,7 +855,7 @@ function unbound_add_host_entries() { foreach ($hosts as $host) { $current_host = ($host['host'] != "") ? $host['host'].".".$host['domain'] : $host['domain']; if (function_exists("is_ipaddrv6") && is_ipaddrv6($host['ip'])) { - if (!$added_item_v6[$curent_host]) { + if (!$added_item_v6[$current_host]) { $host_entries .= "local-data-ptr: \"{$host['ip']} {$current_host}\"\n"; $host_entries .= "local-data: \"{$current_host} IN AAAA {$host['ip']}\"\n"; $added_item_v6[$current_host] = true; |