mirror of https://github.com/tailscale/tailscale/
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>pull/9429/head
parent
f6845b10f6
commit
8ab46952d4
Loading…
Reference in New Issue