From 0780b2474eefbc3cfb1f2857657dfdd14e1def90 Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Mon, 25 Feb 2019 09:32:56 +0100 Subject: Fix PDU consistency check in notification originator --- examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py b/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py index 017fc8b8..90f14519 100644 --- a/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py +++ b/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py @@ -31,7 +31,7 @@ iterator = sendNotification( ContextData(), 'trap', NotificationType( - ObjectIdentity('1.3.6.1.4.1.20408.4.1.1.2.0.432'), + ObjectIdentity('1.3.6.1.4.1.20408.4.1.1.2.0.432') ).addVarBinds( ('1.3.6.1.2.1.1.3.0', 12345), ('1.3.6.1.6.3.18.1.3.0', '127.0.0.1'), -- cgit v1.2.1