summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2015-12-03 22:40:59 +0000
committerStephen Beaver <sbeaver@netgate.com>2015-12-03 19:03:33 -0500
commitcba48c6449222f495a13ee11867885f69c596ff0 (patch)
treef95455b55b417b314d6a2d3dbcfd2172414ee50c /src/usr/local
parentce09e5f0a17797275e32b9eee172e3ba662b0795 (diff)
downloadpfsense-cba48c6449222f495a13ee11867885f69c596ff0.zip
pfsense-cba48c6449222f495a13ee11867885f69c596ff0.tar.gz
Fix SCRIPT tag in "diag_arp.php"
Add missing double quote Tidy up coding style
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/diag_arp.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_arp.php b/src/usr/local/www/diag_arp.php
index 1b2270f..9f36fd0 100644
--- a/src/usr/local/www/diag_arp.php
+++ b/src/usr/local/www/diag_arp.php
@@ -361,8 +361,9 @@ $mac_man = load_mac_manufacturer_table();
$mac = trim($entry['mac']);
$mac_hi = strtoupper($mac[0] . $mac[1] . $mac[3] . $mac[4] . $mac[6] . $mac[7]);
- if (isset($mac_man[$mac_hi]))
+ if (isset($mac_man[$mac_hi])) {
print '<small>('. $mac_man[$mac_hi] .')</small>';
+ }
?>
</td>
<td><?=trim(str_replace("Z_ ", "", $entry['dnsresolve']))?></td>
@@ -372,7 +373,7 @@ $mac_man = load_mac_manufacturer_table();
</table>
</div>
-<script type="text/javascript>
+<script type="text/javascript">
//<![CDATA[
// Clear the "loading" div once the page has loaded"
events.push(function(){
OpenPOWER on IntegriCloud