- support ip link set eth1 address 00:11:22:33:44:55
and not only the shorthand "addr". Thanks to ncopa for noticing
This commit is contained in:
parent
31d58e58d2
commit
e29186687b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user