diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2011-08-01 12:16:59 +0800 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2011-08-01 12:16:59 +0800 |
commit | f22a85d836cc2881fafb5bcb291d0e5769ddb325 (patch) | |
tree | ef0075edd0ee012ed83219bd359c71971a7d64c7 /config/tinydns/tinydns.inc | |
parent | 6692f0850e72da916509f9ed0d50a6ef2d702b51 (diff) | |
download | pfsense-packages-f22a85d836cc2881fafb5bcb291d0e5769ddb325.tar.gz pfsense-packages-f22a85d836cc2881fafb5bcb291d0e5769ddb325.tar.bz2 pfsense-packages-f22a85d836cc2881fafb5bcb291d0e5769ddb325.zip |
Fix tinydns load balancing reverse behavior
Diffstat (limited to 'config/tinydns/tinydns.inc')
-rw-r--r-- | config/tinydns/tinydns.inc | 2 |
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"); } |