summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-03-07 08:10:08 -0300
committerRenato Botelho <renato@netgate.com>2016-03-07 08:10:08 -0300
commit52f1c78779ddf0fa54a06d9cd0e19b889d8a18b0 (patch)
treeba8c3500d2bdf2bdd4421c2fd0006ea158b63c82 /src/usr
parent96f22d875b8a8e20de3ee89447e7d8dd11fc336d (diff)
parent8ed2d200126ea9bf787f51d50bbe0288b92d6b40 (diff)
downloadpfsense-52f1c78779ddf0fa54a06d9cd0e19b889d8a18b0.zip
pfsense-52f1c78779ddf0fa54a06d9cd0e19b889d8a18b0.tar.gz
Merge pull request #2710 from NewEraCracker/prevent-reference-reuse
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/diag_arp.php1
-rw-r--r--src/usr/local/www/diag_ndp.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/diag_arp.php b/src/usr/local/www/diag_arp.php
index ec93c7f..91c2063 100644
--- a/src/usr/local/www/diag_arp.php
+++ b/src/usr/local/www/diag_arp.php
@@ -326,6 +326,7 @@ foreach ($data as &$entry) {
$entry['dnsresolve'] = "Z_ ";
}
}
+unset($entry);
// Sort the data alpha first
$data = msort($data, "dnsresolve");
diff --git a/src/usr/local/www/diag_ndp.php b/src/usr/local/www/diag_ndp.php
index fb5a487..1cda0d7 100644
--- a/src/usr/local/www/diag_ndp.php
+++ b/src/usr/local/www/diag_ndp.php
@@ -118,6 +118,7 @@ foreach ($data as &$entry) {
$entry['dnsresolve'] = "Z_ ";
}
}
+unset($entry);
// Sort the data alpha first
$data = msort($data, "dnsresolve");
OpenPOWER on IntegriCloud