summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_dns.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-09-02 08:43:19 -0300
committerRenato Botelho <renato@netgate.com>2016-09-02 08:43:19 -0300
commit917e9c73cf7da49e0e7ba1388f57f683e9154efa (patch)
tree65fb4be4d476a61a5cca35c724a3f23e3de770ba /src/usr/local/www/diag_dns.php
parentcf62c4a875278e5686768f46dd56e1e9c0eea01a (diff)
downloadpfsense-917e9c73cf7da49e0e7ba1388f57f683e9154efa.zip
pfsense-917e9c73cf7da49e0e7ba1388f57f683e9154efa.tar.gz
Removed unused variable $hostname
Diffstat (limited to 'src/usr/local/www/diag_dns.php')
-rw-r--r--src/usr/local/www/diag_dns.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index 787f27a..983711b 100644
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -154,7 +154,6 @@ if ($_POST) {
$type = "unknown";
$resolved = "";
$ipaddr = "";
- $hostname = "";
if (!$input_errors) {
if (is_ipaddr($host)) {
$type = "ip";
@@ -172,7 +171,6 @@ if ($_POST) {
if ($resolved) {
$resolved = resolve_host_addresses($host);
}
- $hostname = $host;
if ($host != $resolved) {
$ipaddr = $resolved[0];
}
OpenPOWER on IntegriCloud