aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-15 05:29:48 +0000
committerRob Landley <rob@landley.net>2005-12-15 05:29:48 +0000
commit483027f166c9c1625f986fcc12e09db3493fa60c (patch)
treeb4d4f2b3f6715cd0900e7e777914f68932eaa8e6 /networking/libiproute
parentd42ef28b98d451dc5cdd53dc1fa6ead845d5683a (diff)
downloadbusybox-483027f166c9c1625f986fcc12e09db3493fa60c.tar.gz
Patch from dlively (whoever that is, see bug 591) to fix
"ip link set <dev> addr".
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/iplink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 2550c196e..b4493d67d 100644
--- 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();