From ec6f62c13304169f44ee47d21a09373cf6f4fd22 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Tue, 8 Oct 2013 10:05:51 +0200 Subject: Fix variable name. Fixes #3056 --- config/unbound/unbound.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/unbound') 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; -- cgit v1.2.3