diff options
Diffstat (limited to 'pysnmp/hlapi')
-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, |