diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-30 16:45:55 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-30 16:45:55 +0000 |
commit | e29186687b9caa8ecafda2951d3ce8341e424e44 (patch) | |
tree | 36fac00b24e1bde01163086f7f303f71c6c1ec2d /networking | |
parent | 31d58e58d2ceea6c0a8e1e652384f1643685e5af (diff) |
- support ip link set eth1 address 00:11:22:33:44:55
and not only the shorthand "addr". Thanks to ncopa for noticing
Diffstat (limited to 'networking')
-rw-r--r-- | networking/libiproute/iplink.c | 2 |
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) 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"; |