-Fix problem in MacMap where unfinished SNMPv3 work caused existing SNMPv1 to fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -210,7 +210,10 @@ sub refresh_switch { | ||||
|   my $switch = shift; | ||||
|   my $snmpver=1; | ||||
|   my $privproto='AES'; | ||||
|   my $swent=$switchestab->getAttribs({switch=>$switch},[qw(snmpversion username password privacy auth)]); | ||||
|   my $swent; | ||||
|   if ($switchestab) { | ||||
|     $swent=$switchestab->getAttribs({switch=>$switch},[qw(snmpversion username password privacy auth)]); | ||||
|   } | ||||
|   $session = new SNMP::Session( | ||||
|                   DestHost => $switch, | ||||
|                   Version => '1', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user