mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 18:49:04 +00:00
Fix SNMPv2 on non-cisco switches
The cisco change was causing problems elsewhere.
This commit is contained in:
parent
a2a1142f18
commit
efdbeeae0d
@ -78,7 +78,7 @@ class Session(object):
|
||||
# automatic behavior (e.g. DES is weak, so it's likely to be
|
||||
# overriden, but some devices only support DES)
|
||||
tp = _get_transport(self.server)
|
||||
ctx = snmp.ContextData(contextName=self.context)
|
||||
ctx = snmp.ContextData(self.context)
|
||||
resolvemib = False
|
||||
if '::' in oid:
|
||||
resolvemib = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user