diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-27 14:53:02 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-27 14:53:02 -0400 |
commit | 23aa7c9a09a8f40a342401786269bfd694d08262 (patch) | |
tree | 00984e205fce5ae1f0521471bc75f1baa75a1a84 | |
parent | 39cdd35c50167b97b811e8e87c509055e85aa0dc (diff) | |
download | pfsense-packages-23aa7c9a09a8f40a342401786269bfd694d08262.tar.gz pfsense-packages-23aa7c9a09a8f40a342401786269bfd694d08262.tar.bz2 pfsense-packages-23aa7c9a09a8f40a342401786269bfd694d08262.zip |
Add more comments. Remove trailing spaces. No functional changes.
-rw-r--r-- | config/tinydns/tinydns.inc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index 516af21e..6072f33d 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -631,12 +631,14 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname, $rdns break; case "A": /* "=" creates both "A" and "PTR" records to allow both forward and reverse DNS */ - // =fqdn:ip:ttl:timestamp:lo - if($rdns) + if($rdns) { + // =fqdn:ip:ttl:timestamp:lo $record_data = "={$hostname}:{$recordip}{$ttl_string}"; - else + } else { /* "+" creates "A" records only to allow forward DNS */ - $record_data = "+{$hostname}:{$recordip}{$ttl_string}"; + // +fqdn:ip:ttl:timestamp:lo + $record_data = "+{$hostname}:{$recordip}{$ttl_string}"; + } break; case "CNAME": // Cfqdn:p:ttl:timestamp:lo |