aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-07-31 22:55:19 -0700
committerChris Buechler <cmb@pfsense.org>2011-07-31 22:55:19 -0700
commit2778501ec22f98415311d2d22eca9515fd1d5d93 (patch)
treeef0075edd0ee012ed83219bd359c71971a7d64c7 /config
parent6692f0850e72da916509f9ed0d50a6ef2d702b51 (diff)
parentf22a85d836cc2881fafb5bcb291d0e5769ddb325 (diff)
downloadpfsense-packages-2778501ec22f98415311d2d22eca9515fd1d5d93.tar.gz
pfsense-packages-2778501ec22f98415311d2d22eca9515fd1d5d93.tar.bz2
pfsense-packages-2778501ec22f98415311d2d22eca9515fd1d5d93.zip
Merge pull request #14 from engwan/master
Fix tinydns load balancing reverse behavior
Diffstat (limited to 'config')
-rw-r--r--config/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc
index 102f6ebb..5efd0561 100644
--- a/config/tinydns/tinydns.inc
+++ b/config/tinydns/tinydns.inc
@@ -564,7 +564,7 @@ function tinydns_create_zone_file() {
else
$wanpingthreshold = "";
$status = tinydns_get_record_status($row['failoverip'], $pingthreshold, $wanpingthreshold);
- if($status == "DOWN") {
+ if($status == "UP") {
$record_data = tinydns_get_rowline_data($row['failoverip'], $domain['recordtype'], $ttl, $hostname, "", $domain['rdns'], $dist, $domain['src_port'], $domain['src_weight'], $domain['src_priority'], $domain['src_timestamp']);
fwrite($fd, $record_data . "\n");
}