Only use L2::ZyXEL_DSLAM for ZyXEL DSL modules

This commit is contained in:
Eric A. Miller
2014-07-30 23:07:22 -04:00
parent 6ea34316b0
commit 536d7d6901
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ version 3.19
* Fix Avaya detection lldp_port()
* Silence uninitialized value warning in L3::Cisco
* H3C fixes (begemot)
* Only use L2::ZyXEL_DSLAM for ZyXEL DSL modules
version 3.18 (2014-07-02)

View File

@@ -1529,7 +1529,6 @@ sub device_type {
171 => 'SNMP::Info::Layer3::Dell',
207 => 'SNMP::Info::Layer2::Allied',
674 => 'SNMP::Info::Layer3::Dell',
890 => 'SNMP::Info::Layer2::ZyXEL_DSLAM',
1872 => 'SNMP::Info::Layer3::AlteonAD',
1916 => 'SNMP::Info::Layer3::Extreme',
1991 => 'SNMP::Info::Layer3::Foundry',
@@ -1809,6 +1808,9 @@ sub device_type {
$objtype = 'SNMP::Info::Layer2::HPVC'
if ( $desc =~ /HP\sVC\s/ );
$objtype = 'SNMP::Info::Layer2::ZyXEL_DSLAM'
if ( $desc =~ /8-port .DSL Module\(Annex .\)/i );
# Generic device classification based upon sysObjectID
if ( ( $objtype eq 'SNMP::Info::Layer2' )
and ( defined($id) )