arp: without -H <type>, assume "ether". closes 4564

This commit is contained in:
Denis Vlasenko 2008-08-15 20:14:23 +00:00
parent c80191c1d9
commit ec7e7aec8a

View File

@ -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);