diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-30 22:06:30 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-30 22:06:30 -0400 |
commit | 705c72eada89799fb1ae76daf7ad7f05742fe30b (patch) | |
tree | 47b44f04d0168dad8e483498c4577f5682a0a2ba | |
parent | 3a6dc29410abc3b1899d6806a5dfe54cb72b11d4 (diff) | |
download | pfsense-705c72eada89799fb1ae76daf7ad7f05742fe30b.zip pfsense-705c72eada89799fb1ae76daf7ad7f05742fe30b.tar.gz |
Oops, add /32 to address
-rw-r--r-- | usr/local/www/diag_dns.php | 4 |
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"; |