arp: without -H <type>, assume "ether". closes 4564
This commit is contained in:
		@@ -443,8 +443,8 @@ static int arp_show(char *name)
 | 
			
		||||
int arp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
 | 
			
		||||
int arp_main(int argc UNUSED_PARAM, char **argv)
 | 
			
		||||
{
 | 
			
		||||
	char *hw_type;
 | 
			
		||||
	char *protocol;
 | 
			
		||||
	const char *hw_type = "ether";
 | 
			
		||||
	const char *protocol;
 | 
			
		||||
 | 
			
		||||
	/* Initialize variables... */
 | 
			
		||||
	ap = get_aftype(DFLT_AF);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user