summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_dns.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-30 22:06:30 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-30 22:06:30 -0400
commit705c72eada89799fb1ae76daf7ad7f05742fe30b (patch)
tree47b44f04d0168dad8e483498c4577f5682a0a2ba /usr/local/www/diag_dns.php
parent3a6dc29410abc3b1899d6806a5dfe54cb72b11d4 (diff)
downloadpfsense-705c72eada89799fb1ae76daf7ad7f05742fe30b.zip
pfsense-705c72eada89799fb1ae76daf7ad7f05742fe30b.tar.gz
Oops, add /32 to address
Diffstat (limited to 'usr/local/www/diag_dns.php')
-rw-r--r--usr/local/www/diag_dns.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_dns.php b/usr/local/www/diag_dns.php
index d001e1b..715cb0b 100644
--- a/usr/local/www/diag_dns.php
+++ b/usr/local/www/diag_dns.php
@@ -53,7 +53,7 @@ if($_GET['createalias'] == "true") {
foreach($resolved as $re) {
if(!$isfirst)
$addresses .= " ";
- $addresses .= $re;
+ $addresses .= $re . "/32";
$isfirst = false;
}
$newalias = array();
@@ -70,7 +70,7 @@ if($_GET['createalias'] == "true") {
if($override)
$alias_exists = false;
if($alias_exists == false) {
- $newalias['name'] = $aliasname . "/32";
+ $newalias['name'] = $aliasname;
$newalias['type'] = "network";
$newalias['address'] = $addresses;
$newalias['descr'] = "Created from Diagnostics-> DNS Lookup";
OpenPOWER on IntegriCloud