Patch from dlively (whoever that is, see bug 591) to fix
"ip link set <dev> addr".
This commit is contained in:
parent
d42ef28b98
commit
483027f166
@ -285,6 +285,9 @@ static int do_set(int argc, char **argv)
|
||||
flags |= IFF_NOARP;
|
||||
} else
|
||||
return on_off("noarp");
|
||||
} else if (strcmp(*argv, "addr") == 0) {
|
||||
NEXT_ARG();
|
||||
newaddr = *argv;
|
||||
} else {
|
||||
if (strcmp(*argv, "dev") == 0) {
|
||||
NEXT_ARG();
|
||||
|
Loading…
Reference in New Issue
Block a user