summaryrefslogtreecommitdiff
path: root/examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py')
-rw-r--r--examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py b/examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py
index 74f31b0..8bc4562 100644
--- a/examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py
+++ b/examples/v3arch/oneliner/manager/cmdgen/get-v3-table-object-by-multiple-indices.py
@@ -17,7 +17,7 @@ errorIndication, errorStatus, errorIndex, varBinds = cmdGen.getCmd(
authProtocol=cmdgen.usmHMACSHAAuthProtocol,
privProtocol=cmdgen.usmAesCfb128Protocol ),
cmdgen.UdpTransportTarget(('demo.snmplabs.com', 161)),
- cmdgen.MibVariable('TCP-MIB', 'tcpConnLocalAddress', '0.0.0.0', 22, '0.0.0.0', 0)
+ cmdgen.ObjectIdentity('TCP-MIB', 'tcpConnLocalAddress', '0.0.0.0', 22, '0.0.0.0', 0)
)
# Check for errors and print out results