summaryrefslogtreecommitdiff
path: root/pysnmp/hlapi/lcd.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysnmp/hlapi/lcd.py')
-rw-r--r--pysnmp/hlapi/lcd.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/pysnmp/hlapi/lcd.py b/pysnmp/hlapi/lcd.py
index bcd69d87..94c10abf 100644
--- a/pysnmp/hlapi/lcd.py
+++ b/pysnmp/hlapi/lcd.py
@@ -233,9 +233,11 @@ class NotificationOriginatorLcdConfigurator(AbstractLcdConfigurator):
cache['auth'][authDataKey] = authDataX, subTree, useCount + 1
else:
subTree = (1, 3, 6)
- config.addTrapUser(snmpEngine, authData.securityModel,
- authData.securityName, authData.securityLevel,
- subTree)
+ config.addVacmUser(snmpEngine,
+ authData.securityModel,
+ authData.securityName,
+ authData.securityLevel,
+ (), (), subTree)
cache['auth'][authDataKey] = authData, subTree, 1
return notifyName