diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-24 23:32:44 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-24 23:32:44 +0000 |
commit | fbfa48fa0154d9d77b01f7925120dcf0e47ba061 (patch) | |
tree | 28772121a904b8f71f10a8c5897cd3b1f5d2f13c /packages | |
parent | 7942a469e81a5da9ac9919c0c5b03d4a7327c8ff (diff) | |
download | pfsense-packages-fbfa48fa0154d9d77b01f7925120dcf0e47ba061.tar.gz pfsense-packages-fbfa48fa0154d9d77b01f7925120dcf0e47ba061.tar.bz2 pfsense-packages-fbfa48fa0154d9d77b01f7925120dcf0e47ba061.zip |
Use pfsense.merge_config_section
Diffstat (limited to 'packages')
-rw-r--r-- | packages/tinydns/tinydns_xmlrpc_sync.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php index a1471fcc..22b3406c 100644 --- a/packages/tinydns/tinydns_xmlrpc_sync.php +++ b/packages/tinydns/tinydns_xmlrpc_sync.php @@ -73,8 +73,10 @@ function tinydns_do_xmlrpc_sync() { /* xml will hold the sections to sync */ $xml = array(); - $xml['installedpackages']['tinydns'] = &$config['installedpackages']['tinydns']; - $xml['installedpackages']['tinydnsdomains'] = &$config['installedpackages']['tinydnsdomains']; + $xml['installedpackages']['tinydns'] = $config['installedpackages']['tinydns']; + $xml['installedpackages']['tinydnsdomains'] = $config['installedpackages']['tinydnsdomains']; + + print_r($xml); /* assemble xmlrpc payload */ $params = array( @@ -84,7 +86,7 @@ function tinydns_do_xmlrpc_sync() { /* set a few variables needed for sync code borrowed from filter.inc */ $url = $synchronizetoip; - $method = 'pfsense.restore_config_section'; + $method = 'pfsense.merge_config_section'; /* Sync! */ log_error("Beginning tinydns XMLRPC sync to {$url}:{$port}."); |