reset valid_afi_safi per peer, to not show error graphs on bgp sessions not supporting this prefix type

git-svn-id: http://www.observium.org/svn/observer/trunk@1747 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-11-29 11:14:01 +00:00
parent 03f774376b
commit a66bf7a2dd

View File

@ -128,6 +128,7 @@ while ($peer = mysql_fetch_assoc($peer_query))
}
}
}
if ($_GET['opta'] == "macaccounting" && $has_macaccounting)
{
$acc = mysql_fetch_assoc(mysql_query("SELECT * FROM `ipv4_mac` AS I, mac_accounting AS M, ports AS P WHERE I.ipv4_address = '".$peer['bgpPeerIdentifier']."' AND M.mac = I.mac_address AND P.interface_id = M.interface_id"));
@ -157,6 +158,7 @@ while ($peer = mysql_fetch_assoc($peer_query))
}
$i++;
unset($valid_afi_safi);
}
?>