Skip to content

Commit

Permalink
fix: ✨ ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
onionj committed May 29, 2024
1 parent 4cb4e3d commit da7d6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
ipGeolocation = geolocation.New(time.Duration(REFRESHPEROIDH))
}

tcpAddr, err := net.ResolveTCPAddr("tcp4", bindAddress)
tcpAddr, err := net.ResolveTCPAddr("tcp", bindAddress)
if err != nil {
fmt.Fprintf(os.Stderr, "Fatal error: %s", err.Error())
os.Exit(1)
Expand Down

0 comments on commit da7d6f3

Please sign in to comment.