diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-25 09:19:53 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-02-25 09:19:53 +0100 |
commit | 9e484d801bf395e6ecd796f42b3eec9e2272f8fb (patch) | |
tree | a27713c7a987d7da6a1102fced816f1114c184aa /pysnmp | |
parent | 50f29bb39d9d0b23ad72429ad260bb2ff89f8975 (diff) | |
download | pysnmp-git-9e484d801bf395e6ecd796f42b3eec9e2272f8fb.tar.gz |
Fix variable reference in hlapi/v1arch/ntforg
Diffstat (limited to 'pysnmp')
-rw-r--r-- | pysnmp/hlapi/v1arch/asyncore/ntforg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/hlapi/v1arch/asyncore/ntforg.py b/pysnmp/hlapi/v1arch/asyncore/ntforg.py index b532184a..0e0f61d4 100644 --- a/pysnmp/hlapi/v1arch/asyncore/ntforg.py +++ b/pysnmp/hlapi/v1arch/asyncore/ntforg.py @@ -160,7 +160,7 @@ def sendNotification(snmpDispatcher, authData, transportTarget, return if errorIndication: - cbFun(errorIndication, pMod.Integer(0), pMod.Integer(0), None, + cbFun(errorIndication, v2c.Integer(0), v2c.Integer(0), None, cbCtx=cbCtx, snmpDispatcher=snmpDispatcher, stateHandle=stateHandle) return @@ -172,7 +172,7 @@ def sendNotification(snmpDispatcher, authData, transportTarget, if lookupMib: varBinds = VB_PROCESSOR.unmakeVarBinds(snmpDispatcher.cache, varBinds) - nextStateHandle = pMod.getNextRequestID() + nextStateHandle = v2c.getNextRequestID() nextVarBinds = cbFun(errorIndication, errorStatus, errorIndex, varBinds, cbCtx=cbCtx, |