mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added none to vtpversion check
This commit is contained in:
@@ -6,7 +6,7 @@ if ($device['os_group'] == "cisco")
|
||||
|
||||
// Not sure why we check for VTP, but this data comes from that MIB, so...
|
||||
$vtpversion = snmp_get($device, "vtpVersion.0" , "-OnvQ", "CISCO-VTP-MIB");
|
||||
if ($vtpversion == '1' || $vtpversion == '2' || $vtpversion == '3' || $vtpversion == 'one' || $vtpversion == 'two' || $vtpversion == 'three')
|
||||
if ($vtpversion == '1' || $vtpversion == '2' || $vtpversion == '3' || $vtpversion == 'one' || $vtpversion == 'two' || $vtpversion == 'three' || $vtpversion == 'none')
|
||||
{
|
||||
|
||||
// FIXME - can have multiple VTP domains.
|
||||
|
||||
Reference in New Issue
Block a user