Skip to content

Commit

Permalink
Merge pull request #754 from kongfei605/snmp_up
Browse files Browse the repository at this point in the history
unconnected udp socket support
  • Loading branch information
kongfei605 authored Jan 2, 2024
2 parents ce0ec30 + 06d390c commit 7c42c8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inputs/snmp/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func NewWrapper(s ClientConfig) (GosnmpWrapper, error) {
}

gs.Retries = s.Retries
gs.UseUnconnectedUDPSocket = s.UnconnectedUDPSocket

switch s.Version {
case 3:
Expand Down

0 comments on commit 7c42c8a

Please sign in to comment.