summaryrefslogtreecommitdiff
path: root/pysnmp/hlapi/v3arch/asyncore
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-02-21 08:33:47 +0100
committerIlya Etingof <etingof@gmail.com>2019-02-21 08:33:47 +0100
commit8f7fb2fb9c8c4ef20c7c5f4732502bdeaad5152e (patch)
tree8a89e2c10868d2eba4ec9bf6989b633c081289ac /pysnmp/hlapi/v3arch/asyncore
parent3b7b5c31c46d38918512993b8c58aa5580f6f32f (diff)
downloadpysnmp-git-8f7fb2fb9c8c4ef20c7c5f4732502bdeaad5152e.tar.gz
Fix broken `hlapi.isEndOfMib` callable
Diffstat (limited to 'pysnmp/hlapi/v3arch/asyncore')
-rw-r--r--pysnmp/hlapi/v3arch/asyncore/cmdgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/hlapi/v3arch/asyncore/cmdgen.py b/pysnmp/hlapi/v3arch/asyncore/cmdgen.py
index ad31be35..6446bce5 100644
--- a/pysnmp/hlapi/v3arch/asyncore/cmdgen.py
+++ b/pysnmp/hlapi/v3arch/asyncore/cmdgen.py
@@ -18,7 +18,7 @@ __all__ = ['getCmd', 'nextCmd', 'setCmd', 'bulkCmd', 'isEndOfMib']
VB_PROCESSOR = CommandGeneratorVarBinds()
LCD = CommandGeneratorLcdConfigurator()
-isEndOfMib = lambda varBinds: not v2c.apiPDU.getNextVarBinds(varBinds)
+isEndOfMib = lambda varBinds: not v2c.apiPDU.getNextVarBinds(varBinds)[1]
def getCmd(snmpEngine, authData, transportTarget, contextData,