diff options
author | Ryan Van Gilder <rvangilder1@gmail.com> | 2018-09-09 00:29:32 -0700 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2018-09-09 09:29:32 +0200 |
commit | 7cd0b148b192e79d3d9570c29f3eecb8664c2124 (patch) | |
tree | d5e4cde467c576311f929abdb644b4cfdcce4257 /pysnmp/hlapi | |
parent | 1537699336c9c7b9636e7346ae91027832aff678 (diff) | |
download | pysnmp-git-7cd0b148b192e79d3d9570c29f3eecb8664c2124.tar.gz |
Fix lcd.unconfigure not removing cached addr value preventing the same target being re-configured (#194)
Diffstat (limited to 'pysnmp/hlapi')
-rw-r--r-- | pysnmp/hlapi/v3arch/lcd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/hlapi/v3arch/lcd.py b/pysnmp/hlapi/v3arch/lcd.py index 3c11635e..88f90214 100644 --- a/pysnmp/hlapi/v3arch/lcd.py +++ b/pysnmp/hlapi/v3arch/lcd.py @@ -175,7 +175,7 @@ class CommandGeneratorLcdConfigurator(AbstractLcdConfigurator): cache['addr'][addrKey] = addrName, useCount else: config.delTargetAddr(snmpEngine, addrName) - + del cache['addr'][addrKey] addrNames.add(addrKey) if addrKey[1] in cache['tran']: |