Skip to content

Commit

Permalink
Merge branch 'master' into mainline
Browse files Browse the repository at this point in the history
  • Loading branch information
sacredbanana authored Aug 22, 2022
2 parents 690c501 + a49e31d commit 4b23ecb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/sacredbanana/gosnmp
module github.com/ftpsolutions/gosnmp

go 1.17

Expand Down
2 changes: 1 addition & 1 deletion gosnmp_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"testing"
"time"

"github.com/sacredbanana/gosnmp"
"github.com/ftpsolutions/gosnmp"
)

func TestAPIConfigTypes(t *testing.T) {
Expand Down
3 changes: 3 additions & 0 deletions marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"strings"
"sync/atomic"
"time"
"strconv"
)

//
Expand Down Expand Up @@ -246,6 +247,8 @@ func (x *GoSNMP) sendOneRequest(packetOut *SnmpPacket,
_, err = x.Conn.Write(outBuf)
}
if err != nil {
x.logPrintf("ERROR on Conn.WriteTo: %s", err)
err = fmt.Errorf("Error on Conn.WriteTo: %s", err.Error())
continue
}
if x.OnSent != nil {
Expand Down

0 comments on commit 4b23ecb

Please sign in to comment.