mirror of
				https://git.proxmox.com/git/mirror_iproute2
				synced 2025-11-04 06:22:48 +00:00 
			
		
		
		
	l2tp: fix integers with too few significant bits
udp6_csum_{tx,rx}, tunnel and session are the only ones
currently used.
recv_seq, send_seq, lns_mode and data_seq are partially
implemented in a useless way.
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st>
			
			
This commit is contained in:
		
							parent
							
								
									d0baf5cac8
								
							
						
					
					
						commit
						31f63e7c42
					
				
							
								
								
									
										18
									
								
								ip/ipl2tp.c
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								ip/ipl2tp.c
									
									
									
									
									
								
							@ -56,15 +56,15 @@ struct l2tp_parm {
 | 
			
		||||
 | 
			
		||||
	uint16_t pw_type;
 | 
			
		||||
	uint16_t mtu;
 | 
			
		||||
	int udp6_csum_tx:1;
 | 
			
		||||
	int udp6_csum_rx:1;
 | 
			
		||||
	int udp_csum:1;
 | 
			
		||||
	int recv_seq:1;
 | 
			
		||||
	int send_seq:1;
 | 
			
		||||
	int lns_mode:1;
 | 
			
		||||
	int data_seq:2;
 | 
			
		||||
	int tunnel:1;
 | 
			
		||||
	int session:1;
 | 
			
		||||
	unsigned int udp6_csum_tx:1;
 | 
			
		||||
	unsigned int udp6_csum_rx:1;
 | 
			
		||||
	unsigned int udp_csum:1;
 | 
			
		||||
	unsigned int recv_seq:1;
 | 
			
		||||
	unsigned int send_seq:1;
 | 
			
		||||
	unsigned int lns_mode:1;
 | 
			
		||||
	unsigned int data_seq:2;
 | 
			
		||||
	unsigned int tunnel:1;
 | 
			
		||||
	unsigned int session:1;
 | 
			
		||||
	int reorder_timeout;
 | 
			
		||||
	const char *ifname;
 | 
			
		||||
	uint8_t l2spec_type;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user