summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorelie <elie>2013-05-21 06:03:15 +0000
committerelie <elie>2013-05-21 06:03:15 +0000
commit85581d59e38f34d1bb3a5af6110bfe6cdba955c7 (patch)
tree9f6a8642ce1be4049c344815446c0bbe68e0c103 /examples
parentbc626b73d784cba1f4604142308bdea5b3b6f25a (diff)
downloadpysnmp-git-85581d59e38f34d1bb3a5af6110bfe6cdba955c7.tar.gz
contextEngineId parameter of auth.UsmUserData() renamed into
securityEngineId as it's semantically correct
Diffstat (limited to 'examples')
-rw-r--r--examples/hlapi/asyncore/sync/manager/cmdgen/custom-contextengineid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hlapi/asyncore/sync/manager/cmdgen/custom-contextengineid.py b/examples/hlapi/asyncore/sync/manager/cmdgen/custom-contextengineid.py
index f0c949e2..8a5242fd 100644
--- a/examples/hlapi/asyncore/sync/manager/cmdgen/custom-contextengineid.py
+++ b/examples/hlapi/asyncore/sync/manager/cmdgen/custom-contextengineid.py
@@ -17,7 +17,7 @@ cmdGen = cmdgen.CommandGenerator()
errorIndication, errorStatus, errorIndex, varBinds = cmdGen.setCmd(
cmdgen.UsmUserData(
'usr-md5-des', 'authkey1', 'privkey1',
- contextEngineId=rfc1902.OctetString(hexValue='8000000004030201')
+ securityEngineId=rfc1902.OctetString(hexValue='8000000004030201')
),
cmdgen.UdpTransportTarget(('demo.snmplabs.com', 161)),
(cmdgen.MibVariable('SNMPv2-MIB', 'sysORDescr', 1), 'new system name'),