svn commit: trunk/busybox/networking/libiproute
aldot at busybox.net
aldot at busybox.net
Thu Oct 30 16:45:55 UTC 2008
Author: aldot
Date: 2008-10-30 09:45:55 -0700 (Thu, 30 Oct 2008)
New Revision: 23862
Log:
- support ip link set eth1 address 00:11:22:33:44:55
and not only the shorthand "addr". Thanks to ncopa for noticing
Modified:
trunk/busybox/networking/libiproute/iplink.c
Changeset:
Modified: trunk/busybox/networking/libiproute/iplink.c
===================================================================
--- trunk/busybox/networking/libiproute/iplink.c 2008-10-30 14:56:58 UTC (rev 23861)
+++ trunk/busybox/networking/libiproute/iplink.c 2008-10-30 16:45:55 UTC (rev 23862)
@@ -174,7 +174,7 @@
char *newname = NULL;
int htype, halen;
static const char keywords[] ALIGN1 =
- "up\0""down\0""name\0""mtu\0""multicast\0""arp\0""addr\0""dev\0";
+ "up\0""down\0""name\0""mtu\0""multicast\0""arp\0""address\0""dev\0";
enum { ARG_up = 0, ARG_down, ARG_name, ARG_mtu, ARG_multicast, ARG_arp,
ARG_addr, ARG_dev };
static const char str_on_off[] ALIGN1 = "on\0""off\0";
More information about the busybox-cvs
mailing list