From: Rob Landley Date: Thu, 15 Dec 2005 05:29:48 +0000 (-0000) Subject: Patch from dlively (whoever that is, see bug 591) to fix X-Git-Tag: 1_1_0~416 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=483027f166c9c1625f986fcc12e09db3493fa60c;p=oweals%2Fbusybox.git Patch from dlively (whoever that is, see bug 591) to fix "ip link set addr". --- 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();