aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-14 00:20:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-14 00:20:15 +0000
commitb9f23176d7eb44c7214c88d3e8c5c9188ed490fe (patch)
tree9872ae4dee9478b4d27497e3a1df8d4e2a4b5fb5
parent8af7449387c2eacbab5fcfe53edfef3f5a9e3fb1 (diff)
downloadpfsense-packages-b9f23176d7eb44c7214c88d3e8c5c9188ed490fe.tar.gz
pfsense-packages-b9f23176d7eb44c7214c88d3e8c5c9188ed490fe.tar.bz2
pfsense-packages-b9f23176d7eb44c7214c88d3e8c5c9188ed490fe.zip
Misc style formatting
-rw-r--r--packages/tinydns/tinydns.inc9
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index 05a76290..4cae65d4 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -141,7 +141,7 @@ function tinydns_custom_php_changeip_command() {
exec("/bin/mkdir /service");
exec("/bin/ln -s /etc/tinydns /service/");
exec("echo $ip > /service/tinydns/env/IP");
- exec("killall -9 tinydns");
+ exec("/usr/bin/killall -9 tinydns");
conf_mount_ro();
filter_configure();
}
@@ -345,9 +345,9 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname,$rdns)
case "A":
/* "=" creates both "A" and "PTR" records to allow both forward and reverse DNS */
if($rdns)
- $record_data = "={$hostname}:{$recordip}{$ttl_string}";
+ $record_data = "={$hostname}:{$recordip}{$ttl_string}";
else
- /* "+" creates "A" records only to allow forward DNS */
+ /* "+" creates "A" records only to allow forward DNS */
$record_data = "+{$hostname}:{$recordip}{$ttl_string}";
break;
case "CNAME":
@@ -370,7 +370,6 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) {
if(!$sync_to_ip)
return;
-
$xmlrpc_sync_neighbor = $sync_to_ip;
if($config['system']['webgui']['protocol'] != "") {
$synchronizetoip = $config['system']['webgui']['protocol'];
@@ -392,8 +391,6 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) {
$xml['installedpackages']['tinydns'] = $config['installedpackages']['tinydns'];
$xml['installedpackages']['tinydnsdomains'] = $config['installedpackages']['tinydnsdomains'];
- //print_r($xml);
-
/* assemble xmlrpc payload */
$params = array(
XML_RPC_encode($password),