summaryrefslogtreecommitdiff
path: root/examples/v3arch/agent/ntforg/trap-v2c-with-objects.py
diff options
context:
space:
mode:
authorelie <elie>2013-05-05 11:11:51 +0000
committerelie <elie>2013-05-05 11:11:51 +0000
commita6bb3d327278d4a981b685aa01e02e053eb56115 (patch)
treeb58a163a6ceb237640da98f219128e81484442ca /examples/v3arch/agent/ntforg/trap-v2c-with-objects.py
parentb1031a19082078b845f21fa382cc52ee67806c12 (diff)
downloadpysnmp-a6bb3d327278d4a981b685aa01e02e053eb56115.tar.gz
Fix and significant logic rework of snmpCommunityTable to make it working
in both Generator and Responder modes and better follow RFC2576 requirements on sequential entries lookup and selection. As a side effect, untagged snmpCommunityTable entries will *not* match tagged snmpTargetAddrTable entries and vice versa.
Diffstat (limited to 'examples/v3arch/agent/ntforg/trap-v2c-with-objects.py')
-rw-r--r--examples/v3arch/agent/ntforg/trap-v2c-with-objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v3arch/agent/ntforg/trap-v2c-with-objects.py b/examples/v3arch/agent/ntforg/trap-v2c-with-objects.py
index ab7a2a5..b86569a 100644
--- a/examples/v3arch/agent/ntforg/trap-v2c-with-objects.py
+++ b/examples/v3arch/agent/ntforg/trap-v2c-with-objects.py
@@ -66,7 +66,7 @@ mibInstrumCtl.mibBuilder.exportSymbols(
#
# SecurityName <-> CommunityName mapping
-config.addV1System(snmpEngine, 'my-area', 'public')
+config.addV1System(snmpEngine, 'my-area', 'public', transportTag='all-my-managers')
# Specify security settings per SecurityName (SNMPv2c -> 1)
config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 1)