mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: empty routing menu where only CEF is present (#5225)
This commit is contained in:
committed by
Neil Lathwood
parent
b7e08b1e40
commit
0cfff9b122
@@ -490,6 +490,16 @@ if ($_SESSION['userlevel'] >= '5' && $routing_count['bgp']) {
|
||||
<li><a href="routing/protocol=bgp/type=internal/graph=NULL/"><i class="fa fa-external-link fa-rotate-180 fa-fw fa-lg" aria-hidden="true"></i> BGP Internal</a></li>');
|
||||
}
|
||||
|
||||
// CEF info
|
||||
if ($_SESSION['userlevel'] >= '5' && $routing_count['cef']) {
|
||||
if ($separator) {
|
||||
echo(' <li role="presentation" class="divider"></li>');
|
||||
$separator = 0;
|
||||
}
|
||||
echo('<li><a href="routing/protocol=cef/"><i class="fa fa-exchange fa-fw fa-lg" aria-hidden="true"></i> Cisco CEF </a></li>');
|
||||
$separator++;
|
||||
}
|
||||
|
||||
// Do Alerts at the bottom
|
||||
if ($bgp_alerts) {
|
||||
echo('
|
||||
|
Reference in New Issue
Block a user