From ec7e7aec8a7676141ad61cd9e7f38d9942ba760f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 15 Aug 2008 20:14:23 +0000 Subject: [PATCH] arp: without -H , assume "ether". closes 4564 --- networking/arp.c | 4 ++-- 1 file 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); -- 2.25.1