From 4eff2cd5c53c44fa9c2fe7b572868217fc9dbbaa Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 24 Mar 2009 11:28:28 +0000 Subject: [PATCH] fixes git-svn-id: http://www.observium.org/svn/observer/trunk@370 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/cisco-vlans.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/cisco-vlans.php b/includes/discovery/cisco-vlans.php index 3f1160701..6f0c415f4 100755 --- a/includes/discovery/cisco-vlans.php +++ b/includes/discovery/cisco-vlans.php @@ -6,7 +6,7 @@ echo("$vtpversion_cmd"); $vtpversion = trim(`$vtpversion_cmd 2>/dev/null`); - if($vtpversion == '1' || $vtpversion == '2' || $vtpversion == 'three') { + if($vtpversion == '1' || $vtpversion == '2' || $vtpversion == 'two' || $vtpversion == 'three') { $vtp_domain_cmd = "snmpget -Oqv -" . $device['snmpver'] . " -c " . $device['community'] . " " . $device['hostname'].":".$device['port'] . " .1.3.6.1.4.1.9.9.46.1.2.1.1.2.1"; $vtp_domain = trim(str_replace("\"", "", `$vtp_domain_cmd 2>/dev/null`));