summaryrefslogtreecommitdiff
path: root/examples/hlapi
diff options
context:
space:
mode:
authorelie <elie>2015-01-01 11:45:34 +0000
committerelie <elie>2015-01-01 11:45:34 +0000
commit092507d1081c54e2753787f2f97a6ad6886e3cbb (patch)
treecdb2c1435cce9f171f50ce6fbc6a04f766929bce /examples/hlapi
parentc2fa258d32657db13fbf389486e0e60ff686cd26 (diff)
downloadpysnmp-git-092507d1081c54e2753787f2f97a6ad6886e3cbb.tar.gz
oneliner GETBULK Command Generator now strips possible excessive OIDs
off the bottom of returned var-binds table
Diffstat (limited to 'examples/hlapi')
-rw-r--r--examples/hlapi/asyncore/sync/manager/cmdgen/v2c-getbulk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hlapi/asyncore/sync/manager/cmdgen/v2c-getbulk.py b/examples/hlapi/asyncore/sync/manager/cmdgen/v2c-getbulk.py
index d6c974c2..1aa138b1 100644
--- a/examples/hlapi/asyncore/sync/manager/cmdgen/v2c-getbulk.py
+++ b/examples/hlapi/asyncore/sync/manager/cmdgen/v2c-getbulk.py
@@ -18,8 +18,8 @@ errorIndication, errorStatus, errorIndex, varBindTable = cmdGen.bulkCmd(
cmdgen.CommunityData('public'),
cmdgen.UdpTransportTarget(('demo.snmplabs.com', 161)),
0, 25,
- '1.3.6.1.2.1.2.2.1.2',
- '1.3.6.1.2.1.2.2.1.3',
+ '1.3.6.1.2.1.2.2',
+ '1.3.6.1.2.1.2.3',
)
if errorIndication: