diff options
Diffstat (limited to 'pysnmp/proto/api/v2c.py')
-rw-r--r-- | pysnmp/proto/api/v2c.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pysnmp/proto/api/v2c.py b/pysnmp/proto/api/v2c.py index 656c88f4..b21ecf36 100644 --- a/pysnmp/proto/api/v2c.py +++ b/pysnmp/proto/api/v2c.py @@ -91,7 +91,8 @@ class BulkPDUAPI(PDUAPI): pdu.setComponentByPosition( 2, self._maxRepetitions, verifyConstraints=False, matchTags=False, matchConstraints=False ) - pdu.setComponentByPosition(3) + varBindList = pdu.setComponentByPosition(3).getComponentByPosition(3) + varBindList.clear() @staticmethod def getNonRepeaters(pdu): |