aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-12-12 11:01:39 -0200
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-12-12 11:01:39 -0200
commit419fe8a7818856bcc6badb4e8d601f0e01f31f5c (patch)
treea8f5d7e1037f0d17651a6777c7b6e4d1133edf65 /config
parent8a4621720b54cc92575e9021ca31bc7ef88f7272 (diff)
downloadpfsense-packages-419fe8a7818856bcc6badb4e8d601f0e01f31f5c.tar.gz
pfsense-packages-419fe8a7818856bcc6badb4e8d601f0e01f31f5c.tar.bz2
pfsense-packages-419fe8a7818856bcc6badb4e8d601f0e01f31f5c.zip
bind - fix final . check for ipv6 addresses.
Diffstat (limited to 'config')
-rw-r--r--config/bind/bind.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc
index 146632c9..8f439d1a 100644
--- a/config/bind/bind.inc
+++ b/config/bind/bind.inc
@@ -432,7 +432,7 @@ EOD;
$hostname = (preg_match("/(MX|NS)/",$zone['row'][$y]['hosttype'])?"@":$zone['row'][$y]['hostname']);
$hosttype = $zone['row'][$y]['hosttype'];
$hostdst = $zone['row'][$y]['hostdst'];
- if (preg_match("/[a-zA-Z]/",$hostdst) && !preg_match("/(TXT|SPF)/",$hosttype))
+ if (preg_match("/[a-zA-Z]/",$hostdst) && !preg_match("/(TXT|SPF|AAAA)/",$hosttype))
$hostdst .= ".";
$hostvalue = $zone['row'][$y]['hostvalue'];