mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
moar
git-svn-id: http://www.observium.org/svn/observer/trunk@2092 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -11,12 +11,12 @@ else
|
||||
|
||||
$i = "1";
|
||||
|
||||
if ($_GET['opta'] == "alerts")
|
||||
if ($_GET['optb'] == "alerts")
|
||||
{
|
||||
$where = "AND (B.bgpPeerAdminStatus = 'start' or B.bgpPeerAdminStatus = 'running') AND B.bgpPeerState != 'established'";
|
||||
} elseif ($_GET['opta'] == "external") {
|
||||
} elseif ($_GET['optb'] == "external") {
|
||||
$where = "AND D.bgpLocalAs != B.bgpPeerRemoteAs";
|
||||
} elseif ($_GET['opta'] == "internal") {
|
||||
} elseif ($_GET['optb'] == "internal") {
|
||||
$where = "AND D.bgpLocalAs = B.bgpPeerRemoteAs";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user