summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorelie <elie>2015-01-01 11:45:34 +0000
committerelie <elie>2015-01-01 11:45:34 +0000
commit497c6bb78acf1ff357d2cd915a1fa129868fddd5 (patch)
tree3042ad8eb61914c8c3bb64909e49492908b88d06 /examples
parent16dbdefb16dbabbc3d9edb0c16d57e09a22d62a1 (diff)
downloadpysnmp-497c6bb78acf1ff357d2cd915a1fa129868fddd5.tar.gz
oneliner GETBULK Command Generator now strips possible excessive OIDs
off the bottom of returned var-binds table
Diffstat (limited to 'examples')
-rw-r--r--examples/v3arch/oneliner/manager/cmdgen/getbulk-v2c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/oneliner/manager/cmdgen/getbulk-v2c.py b/examples/v3arch/oneliner/manager/cmdgen/getbulk-v2c.py
index d6c974c..1aa138b 100644
--- a/examples/v3arch/oneliner/manager/cmdgen/getbulk-v2c.py
+++ b/examples/v3arch/oneliner/manager/cmdgen/getbulk-v2c.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: