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
|
|
}
|