svn commit: trunk/busybox/networking
vda at busybox.net
vda at busybox.net
Fri Aug 15 20:14:24 UTC 2008
Author: vda
Date: 2008-08-15 13:14:23 -0700 (Fri, 15 Aug 2008)
New Revision: 23085
Log:
arp: without -H <type>, assume "ether". closes 4564
Modified:
trunk/busybox/networking/arp.c
Changeset:
Modified: trunk/busybox/networking/arp.c
===================================================================
--- trunk/busybox/networking/arp.c 2008-08-15 19:56:24 UTC (rev 23084)
+++ trunk/busybox/networking/arp.c 2008-08-15 20:14:23 UTC (rev 23085)
@@ -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);
More information about the busybox-cvs
mailing list