fix(Makefile): update config
All checks were successful
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 6s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 11s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 19s
Markdown linter / markdown-lint (push) Successful in 5s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 39s

This commit is contained in:
2025-06-01 14:46:27 +02:00
parent 1e105c73fb
commit 70af7b1276
2 changed files with 94 additions and 33 deletions

View File

@ -152,7 +152,7 @@ func getOutboundIP() net.IP {
if err != nil {
log.Fatal(err)
}
defer conn.Close()
defer func() { _ = conn.Close() }()
localAddr := conn.LocalAddr().(*net.UDPAddr)
return localAddr.IP
}