Commit 870fcde1 authored by Ad Schellevis's avatar Ad Schellevis

wrong order, fixes performance issues on status_interfaces.php

parent f5acc7f4
...@@ -66,12 +66,12 @@ include("head.inc"); ...@@ -66,12 +66,12 @@ include("head.inc");
<div class="row"> <div class="row">
<section class="col-xs-12"> <section class="col-xs-12">
<?php <?php
$mac_man = json_decode(configd_run("interface list macdb json"), true);
foreach (get_configured_interface_with_descr(false, true) as $ifdescr => $ifname): foreach (get_configured_interface_with_descr(false, true) as $ifdescr => $ifname):
$ifinfo = get_interface_info($ifdescr); $ifinfo = get_interface_info($ifdescr);
legacy_html_escape_form_data($ifinfo); legacy_html_escape_form_data($ifinfo);
$ifdescr = htmlspecialchars($ifdescr); $ifdescr = htmlspecialchars($ifdescr);
$ifname = htmlspecialchars($ifname); $ifname = htmlspecialchars($ifname);
$mac_man = json_decode(configd_run("interface list macdb json"), true);
?> ?>
<div class="tab-content content-box col-xs-12 __mb"> <div class="tab-content content-box col-xs-12 __mb">
<div class="table-responsive"> <div class="table-responsive">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment