From d0fa4eb9ec9367eef52c209c3c7fcd1b66cc64d8 Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 9 Sep 2014 20:46:17 +0100 Subject: [PATCH] Added none to vtpversion check --- includes/discovery/vlans/cisco-vtp.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/vlans/cisco-vtp.inc.php b/includes/discovery/vlans/cisco-vtp.inc.php index 83ba7274a0..3f6b182724 100755 --- a/includes/discovery/vlans/cisco-vtp.inc.php +++ b/includes/discovery/vlans/cisco-vtp.inc.php @@ -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.