aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-12 18:15:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-12 18:15:39 +0000
commit179c41ed3c632343085ae8dda5ef12e9d61b68db (patch)
tree8336b501410d0fd4d8944cdc0d912fe6ff4b77bf /packages/tinydns
parentfe948c97c1ef4c1b624730a196152d190c070b7e (diff)
downloadpfsense-packages-179c41ed3c632343085ae8dda5ef12e9d61b68db.tar.gz
pfsense-packages-179c41ed3c632343085ae8dda5ef12e9d61b68db.tar.bz2
pfsense-packages-179c41ed3c632343085ae8dda5ef12e9d61b68db.zip
* Use $_POST
* Misc formatting
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns_sync.xml2
-rw-r--r--packages/tinydns/tinydns_xmlrpc_sync.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml
index f275ec73..c950eae3 100644
--- a/packages/tinydns/tinydns_sync.xml
+++ b/packages/tinydns/tinydns_sync.xml
@@ -11,7 +11,7 @@
tinydns_custom_php_deinstall_command();
</custom_php_deinstall_command>
<custom_php_resync_config_command>
- tinydns_do_xmlrpc_sync($ipaddress, $password);
+ tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']);
</custom_php_resync_config_command>
<include_file>/usr/local/pkg/tinydns.inc</include_file>
<fields>
diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php
index 6872fc4b..98a54759 100644
--- a/packages/tinydns/tinydns_xmlrpc_sync.php
+++ b/packages/tinydns/tinydns_xmlrpc_sync.php
@@ -43,7 +43,7 @@ if(!$config) {
if($config['installedpackages']['carpsettings']['config'])
$password = $config['installedpackages']['carpsettings']['config'][0]['password'];
if($config['installedpackages']['carpsettings']['config'])
- $syncip = $config['installedpackages']['carpsettings']['config'][0]['synchronizetoip'];
+ $syncip = $config['installedpackages']['carpsettings']['config'][0]['synchronizetoip'];
if($config['installedpackages']['carpsettings']['config'])
$syncxmlrpc = $config['installedpackages']['tinydns']['config'][0]['syncxmlrpc'];