2
0
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:
Jarrod Johnson 2021-01-08 09:16:40 -05:00
parent a2a1142f18
commit efdbeeae0d

View File

@ -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