summaryrefslogtreecommitdiff
path: root/pysnmp
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-02-10 11:41:54 +0100
committerIlya Etingof <etingof@gmail.com>2019-02-10 11:42:06 +0100
commit9664858b145140a4fbb2a22b633c1ab41c2555bd (patch)
treed650c05191ebc1306adc15eb179c7d66febc1eb7 /pysnmp
parent2b5603ecf98c1c47e94a405bd98054d1703af9e7 (diff)
downloadpysnmp-git-9664858b145140a4fbb2a22b633c1ab41c2555bd.tar.gz
Fix Command Responder crash
Due to a bug in the 'Add missing SNMP PDU error classes' change.
Diffstat (limited to 'pysnmp')
-rw-r--r--pysnmp/entity/rfc3413/cmdrsp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/entity/rfc3413/cmdrsp.py b/pysnmp/entity/rfc3413/cmdrsp.py
index 0724518a..461ba235 100644
--- a/pysnmp/entity/rfc3413/cmdrsp.py
+++ b/pysnmp/entity/rfc3413/cmdrsp.py
@@ -245,7 +245,7 @@ class CommandResponderBase(object):
errors = context.get('errors')
if not errors:
- return errorIndication, errorStatus, errorIndex
+ return errorIndication, errorStatus, errorIndex, varBinds
# Take the latest exception
err = errors[-1]