projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42ef28
)
Patch from dlively (whoever that is, see bug 591) to fix
author
Rob Landley
<rob@landley.net>
Thu, 15 Dec 2005 05:29:48 +0000
(
05:29
-0000)
committer
Rob Landley
<rob@landley.net>
Thu, 15 Dec 2005 05:29:48 +0000
(
05:29
-0000)
"ip link set <dev> addr".
networking/libiproute/iplink.c
patch
|
blob
|
history
diff --git
a/networking/libiproute/iplink.c
b/networking/libiproute/iplink.c
index 2550c196e493ef2cae628fefe7e80d77f158f0c3..b4493d67dc4c940fe849f2e1aaab7a8ac2997ca8 100644
(file)
--- a/
networking/libiproute/iplink.c
+++ b/
networking/libiproute/iplink.c
@@
-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();