mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 21:51:21 +02:00
For eventual use by net/udprelay.Server. Updates tailscale/corp#31506 Signed-off-by: Jordan Whited <jordan@tailscale.com>
16 lines
284 B
Go
16 lines
284 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !windows
|
|
|
|
package sockopts
|
|
|
|
import (
|
|
"tailscale.com/types/nettype"
|
|
)
|
|
|
|
// SetICMPErrImmunity is no-op on non-Windows.
|
|
func SetICMPErrImmunity(pconn nettype.PacketConn) error {
|
|
return nil
|
|
}
|