aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-09-03 13:33:28 +0200
committerWarren Baker <warren@decoy.co.za>2011-09-03 13:33:28 +0200
commit5555bbb3083134e272d73742603f8676abbe0151 (patch)
tree4855278afb27d527656599a3f161fbb31762e961
parent03de68d1a0ebe8673cd256c06d12f2f2be544bac (diff)
downloadpfsense-packages-5555bbb3083134e272d73742603f8676abbe0151.tar.gz
pfsense-packages-5555bbb3083134e272d73742603f8676abbe0151.tar.bz2
pfsense-packages-5555bbb3083134e272d73742603f8676abbe0151.zip
Err...use host and not IP.
-rw-r--r--config/unbound/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index abfd3dd5..89f25b46 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -770,7 +770,7 @@ function unbound_add_host_entries() {
foreach ($hosts as $host) {
$current_host = $host['host'];
if ($host['host'] != "")
- $host['ip'] = $host['ip'].".";
+ $host['host'] = $host['host'].".";
if(!$added_item[$current_host]) {
$host_entries .= "local-data-ptr: \"{$host['ip']} {$host['host']}{$host['domain']}\"\n";
if(function_exists("is_ipaddrv6")) {