summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_dns.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-30 22:13:27 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-30 22:13:27 -0400
commit0bab61b14fe0612e8d4f531662ecfdb7e4a669b7 (patch)
treed1572bd28ee5000e7cd8a337a11e3e09a12e5e12 /usr/local/www/diag_dns.php
parent7a87cb97e5d1270ca7cb214e1e958da229ba70c4 (diff)
downloadpfsense-0bab61b14fe0612e8d4f531662ecfdb7e4a669b7.zip
pfsense-0bab61b14fe0612e8d4f531662ecfdb7e4a669b7.tar.gz
Print out host correctly on the overwrite notice
Diffstat (limited to 'usr/local/www/diag_dns.php')
-rw-r--r--usr/local/www/diag_dns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_dns.php b/usr/local/www/diag_dns.php
index 4f70d56..f16518f 100644
--- a/usr/local/www/diag_dns.php
+++ b/usr/local/www/diag_dns.php
@@ -182,7 +182,7 @@ include("head.inc"); ?>
}
if($found > 0) {
if($alias_exists) {
- echo "<br/>An alias already exists for the hostname {$newalias['name']}. To overwrite, click <a href='diag_dns.php?host=" . trim(urlencode($host)) . "&createalias=true&override=true'>here</a>.";
+ echo "<br/>An alias already exists for the hostname {$host}. To overwrite, click <a href='diag_dns.php?host=" . trim(urlencode($host)) . "&createalias=true&override=true'>here</a>.";
} else {
if(!$createdalias) {
echo "<br/><a href='diag_dns.php?host=" . trim(urlencode($host)) . "&createalias=true'>Create alias</a> out of these entries.";
OpenPOWER on IntegriCloud