mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	tun: OpenbSD: fix struct member types
See <netinet6/in6_var.h> and <netinet6/in6.h>, respectively.
This commit is contained in:
		
							parent
							
								
									d68eeb1465
								
							
						
					
					
						commit
						71484f933f
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -19,8 +19,8 @@ import (
 | 
			
		|||
const SIOCSIFADDR_IN6 = (0x80000000) | ((288 & 0x1fff) << 16) | uint32(byte('i'))<<8 | 12
 | 
			
		||||
 | 
			
		||||
type in6_addrlifetime struct {
 | 
			
		||||
	ia6t_expire    float64
 | 
			
		||||
	ia6t_preferred float64
 | 
			
		||||
	ia6t_expire    int64
 | 
			
		||||
	ia6t_preferred int64
 | 
			
		||||
	ia6t_vltime    uint32
 | 
			
		||||
	ia6t_pltime    uint32
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ type in6_addrlifetime struct {
 | 
			
		|||
type sockaddr_in6 struct {
 | 
			
		||||
	sin6_len      uint8
 | 
			
		||||
	sin6_family   uint8
 | 
			
		||||
	sin6_port     uint8
 | 
			
		||||
	sin6_port     uint16
 | 
			
		||||
	sin6_flowinfo uint32
 | 
			
		||||
	sin6_addr     [8]uint16
 | 
			
		||||
	sin6_scope_id uint32
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue