From 7cd0b148b192e79d3d9570c29f3eecb8664c2124 Mon Sep 17 00:00:00 2001 From: Ryan Van Gilder Date: Sun, 9 Sep 2018 00:29:32 -0700 Subject: Fix lcd.unconfigure not removing cached addr value preventing the same target being re-configured (#194) --- pysnmp/hlapi/v3arch/lcd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pysnmp') 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']: -- cgit v1.2.1