From a13afa0f44decc9a71ce6ff15e1b6244d0e31319 Mon Sep 17 00:00:00 2001 From: Jorge Cabrera Date: Mon, 4 Mar 2019 21:32:45 -0800 Subject: Fix SNMP version in Twisted example (#246) --- examples/hlapi/v3arch/twisted/agent/ntforg/v2c-trap-inline-callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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', -- cgit v1.2.1