arp: without -H <type>, assume "ether". closes 4564
This commit is contained in:
parent
c80191c1d9
commit
ec7e7aec8a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user