aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-27 15:40:47 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-27 15:40:47 -0400
commit007d3fab19fc24e13bc5ead14bb738255dc725ce (patch)
tree54760644aec0e907ed49c55dd8ca324432fd700f /config/tinydns
parent0927f479944c834953b1a126842869b2822e22cd (diff)
downloadpfsense-packages-007d3fab19fc24e13bc5ead14bb738255dc725ce.tar.gz
pfsense-packages-007d3fab19fc24e13bc5ead14bb738255dc725ce.tar.bz2
pfsense-packages-007d3fab19fc24e13bc5ead14bb738255dc725ce.zip
Stop adding a silly trailing space.
Diffstat (limited to 'config/tinydns')
-rw-r--r--config/tinydns/tinydns.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc
index 063102da..dd72c740 100644
--- a/config/tinydns/tinydns.inc
+++ b/config/tinydns/tinydns.inc
@@ -1016,8 +1016,8 @@ EOD;
function tinydns_cleanup_addedit_form_record() {
/* Clean some things up and simplify per limited subset of TinyDNS record syntax before saving. */
- if((($_POST['recordtype'] == "SOA") || ($_POST['recordtype'] == "NS") || ($_POST['recordtype'] == "MX")) && substr($_POST['ipaddress'],-1) != ".")
- $_POST['ipaddress'] = $_POST['ipaddress'] . ".";
+ //if((($_POST['recordtype'] == "SOA") || ($_POST['recordtype'] == "NS") || ($_POST['recordtype'] == "MX")) && substr($_POST['ipaddress'],-1) != ".")
+ // $_POST['ipaddress'] = $_POST['ipaddress'] . ".";
if($_POST['recordtype'] == "TXT") {
/* TinyDNS provides surrounding quotes for TXT records automatically so we check & remove them here */
@@ -1032,4 +1032,5 @@ function tinydns_cleanup_addedit_form_record() {
}
}
}
+
?> \ No newline at end of file