go-ping / ping

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

Use a UUID for packet tracking #152

Closed SuperQ closed 3 years ago

SuperQ commented 3 years ago

Replace the random 8 byte tracker with a 16 byte UUID.

Fixes: https://github.com/go-ping/ping/issues/142

Signed-off-by: Ben Kochie superq@gmail.com

SuperQ commented 3 years ago

It looks like the code will silently ignore Pinger.Size smaller than the minimum.

SuperQ commented 3 years ago

CC @mem, what do you think of this?

SuperQ commented 3 years ago

@CHTJonas Fixed up.

CHTJonas commented 3 years ago

Closed by #177 in 38182647687148eb7c963dc57dc62456b12aa0ae.