git-svn-id: http://www.observium.org/svn/observer/trunk@2092 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-17 17:22:46 +00:00
parent db26522959
commit 89b0437a0c

View File

@@ -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";
}