diff options
author | Jorge Cabrera <jcabmora@yahoo.com> | 2019-03-04 21:32:45 -0800 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-03-05 06:32:45 +0100 |
commit | a13afa0f44decc9a71ce6ff15e1b6244d0e31319 (patch) | |
tree | 1b0b09f2421762581ea2d2da0834e83a42d4cc67 /examples/hlapi/v3arch | |
parent | 5a1cb3ff2851018d7569008d4055eb5204b08cb7 (diff) | |
download | pysnmp-git-a13afa0f44decc9a71ce6ff15e1b6244d0e31319.tar.gz |
Fix SNMP version in Twisted example (#246)
Diffstat (limited to 'examples/hlapi/v3arch')
-rw-r--r-- | examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py | 2 |
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', |