go-ping / ping

ICMP Ping library for Go
MIT License
1.33k stars 345 forks source link

Make Tracker uint64 and check for both UDP and ICMP #134

Closed CHTJonas closed 3 years ago

CHTJonas commented 3 years ago

It looks like we can check a received packet's ID in both UDP and ICMP so we might as well. This PR also reduces some needless complexity by making Tracker an unsigned 64-bit int.

Fixes #133.