summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Cabrera <jcabmora@yahoo.com>2019-03-04 21:32:45 -0800
committerIlya Etingof <etingof@gmail.com>2019-03-05 06:32:45 +0100
commita13afa0f44decc9a71ce6ff15e1b6244d0e31319 (patch)
tree1b0b09f2421762581ea2d2da0834e83a42d4cc67
parent5a1cb3ff2851018d7569008d4055eb5204b08cb7 (diff)
downloadpysnmp-git-a13afa0f44decc9a71ce6ff15e1b6244d0e31319.tar.gz
Fix SNMP version in Twisted example (#246)
-rw-r--r--examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py b/examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py
index 6e831582..12a130e8 100644
--- a/examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py
+++ b/examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py
@@ -26,7 +26,7 @@ def sendtrap(reactor, snmpEngine, hostname):
deferred = sendNotification(
snmpEngine,
- CommunityData('public', mpModel=0),
+ CommunityData('public', mpModel=1),
UdpTransportTarget((hostname, 162)),
ContextData(),
'trap',