Skip to content

Commit

Permalink
chore: force UDP over IPv4
Browse files Browse the repository at this point in the history
  • Loading branch information
vwhitteron committed Apr 17, 2024
1 parent 6627db3 commit 1c2f321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telemetry_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ func NewGTClient(config Config) (*GTClient, error) {
}

func (c *GTClient) Run() {
addr, err := net.ResolveUDPAddr("udp", ":33740")
addr, err := net.ResolveUDPAddr("udp4", ":33740")
if err != nil {
log.Fatal(err)
}

conn, err := net.ListenUDP("udp", addr)
conn, err := net.ListenUDP("udp4", addr)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 1c2f321

Please sign in to comment.