mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@ -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);
|
||||
}
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user