mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
In order to get BSD like behavior with regard to ICMP, it is necessary to set SIO_UDP_NETRESET as well as SIO_UDP_CONNRESET. Updates golang/go#68614 Change-Id: Ibdf5b6ea6bc08a9d3a0aeac9037864670cf765c0 Reviewed-on: https://go-review.googlesource.com/c/sys/+/609295 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Funda Secgin <fundasecgin38@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Auto-Submit: Ian Lance Taylor <iant@google.com>