mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-30 07:42:12 +01: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
 | |
| }
 |