diff options
-rw-r--r-- | packages/tinydns/tinydns_sync.xml | 2 | ||||
-rw-r--r-- | packages/tinydns/tinydns_xmlrpc_sync.php | 2 |
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']; |