diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-08 17:24:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-08 17:24:04 +0000 |
commit | 88463046f76e0d4d517c134d19394217783493ec (patch) | |
tree | dbac8208a968e4db61df58bde824211d8a5a2d3a /packages/tinydns/tinydns.inc | |
parent | cb53501d44312bccd147debb868056534f0d878b (diff) | |
download | pfsense-packages-88463046f76e0d4d517c134d19394217783493ec.tar.gz pfsense-packages-88463046f76e0d4d517c134d19394217783493ec.tar.bz2 pfsense-packages-88463046f76e0d4d517c134d19394217783493ec.zip |
* Use correct failoverip
* Reload ping database upon zone up or down
Diffstat (limited to 'packages/tinydns/tinydns.inc')
-rw-r--r-- | packages/tinydns/tinydns.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index cc4371fa..a6dec04f 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -169,7 +169,7 @@ function tinydns_setup_ping_items() { fwrite($fd, $ip . "|" . $domain['ipaddress'] . "|3|/usr/local/pkg/tinydns_down.php|/usr/local/pkg/tinydns_up.php\n"); if($domain['row']) { foreach($domain['row'] as $row) { - fwrite($fd, $ip . "|" . $row['ipaddress'] . "|3|/usr/local/pkg/tinydns_down.php|/usr/local/pkg/tinydns_up.php\n"); + fwrite($fd, $ip . "|" . $row['failoverip'] . "|3|/usr/local/pkg/tinydns_down.php|/usr/local/pkg/tinydns_up.php\n"); } } } |