aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-30 00:12:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-30 00:12:00 +0000
commit5c61c0708380c3f93db53977c6dc91f1f2e99c44 (patch)
tree7ba356e455ea221cdd601e4a94c993ad50992e49 /packages/tinydns
parentbbfa08a381c5acfd1e1be6c46f973138a34e2e27 (diff)
downloadpfsense-packages-5c61c0708380c3f93db53977c6dc91f1f2e99c44.tar.gz
pfsense-packages-5c61c0708380c3f93db53977c6dc91f1f2e99c44.tar.bz2
pfsense-packages-5c61c0708380c3f93db53977c6dc91f1f2e99c44.zip
Fix TTL for MX type records
Diffstat (limited to 'packages/tinydns')
-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 c170f6c0..9633e602 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -317,7 +317,7 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname) {
$record_data = ".{$hostname}::{$recordip}";
break;
case "MX":
- $record_data = "@{$hostname}:{$recordip}{$ttl_string}";
+ $record_data = "@{$hostname}:{$recordip}::{$ttl_string}";
break;
case "A":
$record_data = "+{$hostname}:{$recordip}{$ttl_string}";