diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-15 20:14:23 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-15 20:14:23 +0000 |
commit | ec7e7aec8a7676141ad61cd9e7f38d9942ba760f (patch) | |
tree | 67407b8a01516ea3b118a3f6dce8e51c1d87ce55 | |
parent | c80191c1d9bb0abcd25876cbccc4c1cc26a2544d (diff) |
arp: without -H <type>, assume "ether". closes 4564
-rw-r--r-- | networking/arp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/arp.c b/networking/arp.c index 620f7c00f..e2c5bbb7f 100644 --- a/networking/arp.c +++ b/networking/arp.c @@ -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); |