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, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||||
int arp_main(int argc UNUSED_PARAM, char **argv)
|
int arp_main(int argc UNUSED_PARAM, char **argv)
|
||||||
{
|
{
|
||||||
char *hw_type;
|
const char *hw_type = "ether";
|
||||||
char *protocol;
|
const char *protocol;
|
||||||
|
|
||||||
/* Initialize variables... */
|
/* Initialize variables... */
|
||||||
ap = get_aftype(DFLT_AF);
|
ap = get_aftype(DFLT_AF);
|
||||||
|
Loading…
Reference in New Issue
Block a user