aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2012-02-20 23:51:14 -0800
committerSeth Mos <seth.mos@dds.nl>2012-02-20 23:51:14 -0800
commitc8f48321265be6c5ac190e7f8a5f4b6699d56ac7 (patch)
tree54fdcb040c09ba742557ecffe60cceb865d61177 /config
parent219424fbe4fd9d45d8a89981578db3ea18ae57ac (diff)
parentad5cdb3d84fdc24b32e3d440f03c44e3310c977b (diff)
downloadpfsense-packages-c8f48321265be6c5ac190e7f8a5f4b6699d56ac7.tar.gz
pfsense-packages-c8f48321265be6c5ac190e7f8a5f4b6699d56ac7.tar.bz2
pfsense-packages-c8f48321265be6c5ac190e7f8a5f4b6699d56ac7.zip
Merge pull request #217 from jeandebogue/patch-1
Change from monitorip to failoverip.
Diffstat (limited to 'config')
-rw-r--r--config/tinydns/tinydns_status.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/tinydns/tinydns_status.php b/config/tinydns/tinydns_status.php
index 147001af..3a4b8545 100644
--- a/config/tinydns/tinydns_status.php
+++ b/config/tinydns/tinydns_status.php
@@ -87,8 +87,8 @@ if(strstr($pfSversion, "1.2"))
<?php
$pingdir = return_dir_as_array("/var/db/pingstatus");
-if(file_exists("/service/tinydns/root/data"))
- $tinydns_data = file_get_contents("/service/tinydns/root/data");
+if(file_exists("/var/run/service/tinydns/root/data"))
+ $tinydns_data = file_get_contents("/var/run/service/tinydns/root/data");
else
$tinydns_data = "";
if($config['installedpackages']['tinydnsdomains'])
@@ -146,7 +146,7 @@ foreach($config['installedpackages']['tinydnsdomains']['config'] as $ping) {
echo $ipaddress;
if($row['loadbalance'])
echo " (LB)";
- if(stristr($tinydns_data, "+{$hostname}:{$row['monitorip']}"))
+ if(stristr($tinydns_data, "+{$hostname}:{$row['failoverip']}"))
$inservice = "<FONT COLOR='GREEN'>YES</FONT>";
else
$inservice = "<FONT COLOR='BLUE'>NO</FONT>";