tailscale/net/ping
James Tucker 8ab46952d4 net/ping: fix ICMP echo code field to 0
The code was trying to pass the ICMP protocol number here (1), which is
not a valid code. Many servers will not respond to echo messages with
codes other than 0.

https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml#icmp-parameters-codes-8

Updates #9299
Signed-off-by: James Tucker <james@tailscale.com>
2023-09-15 17:08:39 -07:00
..
ping_test.go net/ping,netcheck: add v6 pinging capabilities to pinger (#7971) 2023-04-26 15:59:37 -07:00
ping.go net/ping: fix ICMP echo code field to 0 2023-09-15 17:08:39 -07:00