aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-15 20:44:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-15 20:44:59 +0000
commite0045b072b6b40661eeeb4071f55a1b436b0a497 (patch)
tree53de74a26e359194fe9e89ff6bde63b4fb4ff546 /packages
parentcaf1e50df6fd1a390e8b0f81ecc0851a34ab4bae (diff)
downloadpfsense-packages-e0045b072b6b40661eeeb4071f55a1b436b0a497.tar.gz
pfsense-packages-e0045b072b6b40661eeeb4071f55a1b436b0a497.tar.bz2
pfsense-packages-e0045b072b6b40661eeeb4071f55a1b436b0a497.zip
Only sync if IP and password are passed
Diffstat (limited to 'packages')
-rw-r--r--packages/tinydns/tinydns_xmlrpc_sync.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php
index 98a54759..69404df3 100644
--- a/packages/tinydns/tinydns_xmlrpc_sync.php
+++ b/packages/tinydns/tinydns_xmlrpc_sync.php
@@ -50,6 +50,7 @@ if(!$config) {
/* option enabled? */
if($syncxmlrpc)
if($syncip)
- tinydns_do_xmlrpc_sync($syncip, $password)
+ if($password)
+ tinydns_do_xmlrpc_sync($syncip, $password)
?> \ No newline at end of file