From 9664858b145140a4fbb2a22b633c1ab41c2555bd Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Sun, 10 Feb 2019 11:41:54 +0100 Subject: Fix Command Responder crash Due to a bug in the 'Add missing SNMP PDU error classes' change. --- pysnmp/entity/rfc3413/cmdrsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pysnmp') 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] -- cgit v1.2.1