summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2011-12-21 16:52:32 +0000
committerelie <elie>2011-12-21 16:52:32 +0000
commite25aafafd42407c185fb5f8fb40923fd1aaf60b9 (patch)
treeb7eb544512671779556c1dd216cc6ac513645e27
parentbbc7cf1e29b5fb30a912731226c673557c00fe1a (diff)
downloadpysnmp-e25aafafd42407c185fb5f8fb40923fd1aaf60b9.tar.gz
can't handle v1&v2c with equal communities
-rw-r--r--examples/v3arch/oneliner/manager/async/nextgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/oneliner/manager/async/nextgen.py b/examples/v3arch/oneliner/manager/async/nextgen.py
index 56cd529..122fb48 100644
--- a/examples/v3arch/oneliner/manager/async/nextgen.py
+++ b/examples/v3arch/oneliner/manager/async/nextgen.py
@@ -4,8 +4,8 @@ from pysnmp.proto import rfc1902
# ( ( authData, transportTarget, varNames ), ... )
targets = (
- # 1-st target (SNMPv1)
- ( cmdgen.CommunityData('public', mpModel=0),
+ # 1-st target (SNMPv2c -- can't handle v1&v2c with equal communities)
+ ( cmdgen.CommunityData('public'), # , mpModel=0),
cmdgen.UdpTransportTarget(('localhost', 161)),
(rfc1902.ObjectName((1,3,6,1,2,1)), rfc1902.ObjectName((1,3,6,1,3,1)))),
# 2-nd target (SNMPv2c)