Commits

Anonymous committed bdeedb0

use vanilla tagList as passed to addTargetAddress(), do not attempt to
implicitly tag addresses (to bind them with community names which is lame)

Comments (0)

Files changed (1)

pysnmp/entity/config.py

         (snmpTargetAddrEntry.name + (3,) + tblIdx, transportAddress),
         (snmpTargetAddrEntry.name + (4,) + tblIdx, timeout),
         (snmpTargetAddrEntry.name + (5,) + tblIdx, retryCount),
-         # XXX
-        (snmpTargetAddrEntry.name + (6,) + tblIdx,'%s%s%s' % (addrName, tagList and ' ' or '', tagList)),
+        (snmpTargetAddrEntry.name + (6,) + tblIdx, tagList),
         (snmpTargetAddrEntry.name + (7,) + tblIdx, params),)
         )