commit | ec7e7aec8a7676141ad61cd9e7f38d9942ba760f | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Fri Aug 15 20:14:23 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Fri Aug 15 20:14:23 2008 +0000 |
tree | 67407b8a01516ea3b118a3f6dce8e51c1d87ce55 | |
parent | c80191c1d9bb0abcd25876cbccc4c1cc26a2544d [diff] [blame] |
arp: without -H <type>, assume "ether". closes 4564
diff --git a/networking/arp.c b/networking/arp.c index 620f7c0..e2c5bbb 100644 --- a/networking/arp.c +++ b/networking/arp.c
@@ -443,8 +443,8 @@ 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);