aboutsummaryrefslogtreecommitdiff
path: root/networking/arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/arp.c')
-rw-r--r--networking/arp.c4
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);