Fix Vrf Table (#15912)

* Update vrf.inc.php

* Update vrf.inc.php
This commit is contained in:
Justin Lentz
2024-03-28 16:50:12 -05:00
committed by GitHub
parent cbcfb75003
commit 4ddbf8baad

View File

@@ -106,7 +106,7 @@ if (! Auth::user()->hasGlobalRead()) {
$i = '1';
echo '<tbody>';
foreach (dbFetchRows('SELECT `vrf_name`, `mplsVpnVrfRouteDistinguisher`, `mplsVpnVrfDescription` FROM `vrfs` GROUP BY `mplsVpnVrfRouteDistinguisher`, `mplsVpnVrfDescription`,`vrf_name`') as $vrf) {
echo '<td></td>';
echo '<tr><td></td>';
echo '<td width=240>';
echo '<a class=list-large href=' . \LibreNMS\Util\Url::generate($vars, ['view' => 'detail', 'vrf' => $vrf['vrf_name']]) . '>';
echo $vrf['vrf_name'] . '</a><br />';
@@ -170,7 +170,7 @@ if (! Auth::user()->hasGlobalRead()) {
}//end switch
}//end foreach
echo '</td>';
echo '</td></tr>';
$x++;
} //end foreach