diff --git a/discovery.php b/discovery.php index 61022da54..b6e8de193 100755 --- a/discovery.php +++ b/discovery.php @@ -122,13 +122,17 @@ while ($device = mysql_fetch_array($device_query)) ## ARP Table include("includes/discovery/arp-table.inc.php"); + ## BGP Peers (Quagga, Cisco, Juniper, Foundry) + include("includes/discovery/bgp-peers.inc.php"); + + if($device['os'] == "ironware") { + if ($device['type'] == "unknown") { $device['type'] = 'network'; } + } + if($device['os'] == "screenos") { if ($device['type'] == "unknown") { $device['type'] = 'firewall'; } } - ## BGP Peers (Quagga, Cisco, Juniper, Foundry) - include("includes/discovery/bgp-peers.inc.php"); - if($device['os'] == "junos") { if ($device['type'] == "unknown") { $device['type'] = 'network'; } # FIXME: could also be a Netscreen... }