svn commit: trunk/busybox/networking/libiproute

landley at busybox.net landley at busybox.net
Thu Dec 15 05:30:04 UTC 2005


Author: landley
Date: 2005-12-14 21:29:48 -0800 (Wed, 14 Dec 2005)
New Revision: 12888

Log:
Patch from dlively (whoever that is, see bug 591) to fix
"ip link set <dev> addr".


Modified:
   trunk/busybox/networking/libiproute/iplink.c


Changeset:
Modified: trunk/busybox/networking/libiproute/iplink.c
===================================================================
--- trunk/busybox/networking/libiproute/iplink.c	2005-12-14 23:28:39 UTC (rev 12887)
+++ trunk/busybox/networking/libiproute/iplink.c	2005-12-15 05:29:48 UTC (rev 12888)
@@ -285,6 +285,9 @@
 				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();




More information about the busybox-cvs mailing list