diff options
author | elie <elie> | 2013-05-21 06:03:15 +0000 |
---|---|---|
committer | elie <elie> | 2013-05-21 06:03:15 +0000 |
commit | 85581d59e38f34d1bb3a5af6110bfe6cdba955c7 (patch) | |
tree | 9f6a8642ce1be4049c344815446c0bbe68e0c103 /examples | |
parent | bc626b73d784cba1f4604142308bdea5b3b6f25a (diff) | |
download | pysnmp-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.py | 2 |
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'), |