diff options
author | Seth Mos <seth.mos@dds.nl> | 2012-02-20 23:51:14 -0800 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2012-02-20 23:51:14 -0800 |
commit | c8f48321265be6c5ac190e7f8a5f4b6699d56ac7 (patch) | |
tree | 54fdcb040c09ba742557ecffe60cceb865d61177 /config/tinydns | |
parent | 219424fbe4fd9d45d8a89981578db3ea18ae57ac (diff) | |
parent | ad5cdb3d84fdc24b32e3d440f03c44e3310c977b (diff) | |
download | pfsense-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/tinydns')
-rw-r--r-- | config/tinydns/tinydns_status.php | 6 |
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>"; |