From e29186687b9caa8ecafda2951d3ce8341e424e44 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 30 Oct 2008 16:45:55 +0000 Subject: - support ip link set eth1 address 00:11:22:33:44:55 and not only the shorthand "addr". Thanks to ncopa for noticing --- networking/libiproute/iplink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3