aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-30 16:45:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-30 16:45:55 +0000
commite29186687b9caa8ecafda2951d3ce8341e424e44 (patch)
tree36fac00b24e1bde01163086f7f303f71c6c1ec2d
parent31d58e58d2ceea6c0a8e1e652384f1643685e5af (diff)
downloadbusybox-w32-e29186687b9caa8ecafda2951d3ce8341e424e44.tar.gz
busybox-w32-e29186687b9caa8ecafda2951d3ce8341e424e44.tar.bz2
busybox-w32-e29186687b9caa8ecafda2951d3ce8341e424e44.zip
- support ip link set eth1 address 00:11:22:33:44:55
and not only the shorthand "addr". Thanks to ncopa for noticing
-rw-r--r--networking/libiproute/iplink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 3b212eed9..dc936bdc5 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -174,7 +174,7 @@ static int do_set(char **argv)
174 char *newname = NULL; 174 char *newname = NULL;
175 int htype, halen; 175 int htype, halen;
176 static const char keywords[] ALIGN1 = 176 static const char keywords[] ALIGN1 =
177 "up\0""down\0""name\0""mtu\0""multicast\0""arp\0""addr\0""dev\0"; 177 "up\0""down\0""name\0""mtu\0""multicast\0""arp\0""address\0""dev\0";
178 enum { ARG_up = 0, ARG_down, ARG_name, ARG_mtu, ARG_multicast, ARG_arp, 178 enum { ARG_up = 0, ARG_down, ARG_name, ARG_mtu, ARG_multicast, ARG_arp,
179 ARG_addr, ARG_dev }; 179 ARG_addr, ARG_dev };
180 static const char str_on_off[] ALIGN1 = "on\0""off\0"; 180 static const char str_on_off[] ALIGN1 = "on\0""off\0";