Skip to content

Commit

Permalink
[IM] permit iftype IF_TYPE_L3IPVLAN in SNMP poll
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhilliard committed Apr 12, 2019
1 parent 0c55142 commit 723adab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/Entities/Switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ public function snmpPollSwitchPorts( $host, $logger = false, &$result = false ){
foreach( $host->useIface()->indexes() as $index ) {

// we're only interested in Ethernet ports here (right?)
if( $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_ETHERNETCSMACD )
if( $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_ETHERNETCSMACD && $host->useIface()->types()[ $index ] != SNMPIface::IF_TYPE_L3IPVLAN )
continue;

// find the matching switchport that may already be in the database (or create a new one)
Expand Down

0 comments on commit 723adab

Please sign in to comment.