Skip to content

Commit

Permalink
Issue#93 Support Community Strings greater than 32 characaters
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergitron2 committed Jun 10, 2020
1 parent f535386 commit 9755016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snimpy/snmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def __init__(self, host,
# Put authentication stuff in self._auth
if version in [1, 2]:
self._auth = cmdgen.CommunityData(
community, community, version - 1)
community[0:30], community, version - 1)
elif version == 3:
if secname is None:
secname = community
Expand Down

0 comments on commit 9755016

Please sign in to comment.