mirror of
				https://git.proxmox.com/git/mirror_iproute2
				synced 2025-11-04 02:11:27 +00:00 
			
		
		
		
	tc: m_ife: report about kernels default type
This patch will report about if the ethertype for IFE is not specified that the default IFE type is used. Signed-off-by: Alexander Aring <aring@mojatatu.com>
This commit is contained in:
		
							parent
							
								
									664f35aa7c
								
							
						
					
					
						commit
						38060de1eb
					
				@ -189,6 +189,8 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p,
 | 
			
		||||
		addattr_l(n, MAX_MSG, TCA_IFE_DMAC, dbuf, ETH_ALEN);
 | 
			
		||||
	if (user_type)
 | 
			
		||||
		addattr_l(n, MAX_MSG, TCA_IFE_TYPE, &ife_type, 2);
 | 
			
		||||
	else
 | 
			
		||||
		fprintf(stderr, "IFE type 0x%04X\n", ETH_P_IFE);
 | 
			
		||||
	if (saddr)
 | 
			
		||||
		addattr_l(n, MAX_MSG, TCA_IFE_SMAC, sbuf, ETH_ALEN);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user