aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-14 04:27:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-14 04:27:45 +0000
commite35b092b0e9c8a261899decd1d3cd857a55a95b3 (patch)
treeb03c9c31dcadf9b0ce61b3bd355878a205b430ba
parent56b123aa12b2c7883b5be108c7a3d30021b295e1 (diff)
downloadpfsense-packages-e35b092b0e9c8a261899decd1d3cd857a55a95b3.tar.gz
pfsense-packages-e35b092b0e9c8a261899decd1d3cd857a55a95b3.tar.bz2
pfsense-packages-e35b092b0e9c8a261899decd1d3cd857a55a95b3.zip
* Add merge_installedpackages_section_xmlrpc() call used for merging
specific <installedpackages><AREANAME> sub items without replacing the entire <installedpackages> area with just this item * Adjust TinyDNS sync to use this new method to avoid replacing the entire destination <installedpackages> area which also whipes out all other installd package information.
-rw-r--r--packages/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index ce6e491f..e1012334 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -443,7 +443,7 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) {
/* xml will hold the sections to sync */
$xml = array();
- $xml['installedpackages']['tinydnsdomains'] = $config['installedpackages']['tinydnsdomains'];
+ $xml['tinydnsdomains'] = $config['installedpackages']['tinydnsdomains'];
/* assemble xmlrpc payload */
$params = array(