diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-24 17:40:38 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-24 17:40:38 +0000 |
commit | 7718003a1846b9e78c2d3afefacccd0084e5201e (patch) | |
tree | cd999effa28493dadc1584935da32599436fca8e /packages/tinydns/tinydns_sync.xml | |
parent | 21cfa61cde0eeb323a58324b8bd79382d263c300 (diff) | |
download | pfsense-packages-7718003a1846b9e78c2d3afefacccd0084e5201e.tar.gz pfsense-packages-7718003a1846b9e78c2d3afefacccd0084e5201e.tar.bz2 pfsense-packages-7718003a1846b9e78c2d3afefacccd0084e5201e.zip |
Add a automatically sync field (checkbox)
Diffstat (limited to 'packages/tinydns/tinydns_sync.xml')
-rw-r--r-- | packages/tinydns/tinydns_sync.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml index 39633907..68265cf3 100644 --- a/packages/tinydns/tinydns_sync.xml +++ b/packages/tinydns/tinydns_sync.xml @@ -79,6 +79,12 @@ <configpath>installedpackages->package->tinydns</configpath> <fields> <field> + <fielddescr>Automatically sync on changes</fielddescr> + <fieldname>synconchanges</fieldname> + <description>pfSense will automatically sync changes to hosts defined in the Sync tab.</description> + <type>checkbox</type> + </field> + <field> <fielddescr>IP Address</fielddescr> <fieldname>ipaddress</fieldname> <description>The IP address that TinyDNS will Sync its data to.</description> @@ -118,7 +124,7 @@ <custom_php_resync_config_command> tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']); if($_POST['ipaddress2']) - tinydns_do_xmlrpc_sync($_POST['ipaddress2'], $_POST['password2']); + tinydns_do_xmlrpc_syncc_sync($_POST['ipaddress2'], $_POST['password2']); if($_POST['ipaddress3']) tinydns_do_xmlrpc_sync($_POST['ipaddress3'], $_POST['password3']); </custom_php_resync_config_command> |