[BusyBox-cvs] CVS update of busybox/networking/libiproute (iproute.c)

Glenn McGrath bug1 at codepoet.org
Wed Aug 11 08:10:58 UTC 2004


    Date: Wednesday, August 11, 2004 @ 02:10:58
  Author: bug1
    Path: /var/cvs/busybox/networking/libiproute

Modified: iproute.c (1.13 -> 1.14)

Set default command to list rather than get, its default behaviour now
coincides with upstream. Patch from debian diff.


Index: busybox/networking/libiproute/iproute.c
diff -u busybox/networking/libiproute/iproute.c:1.13 busybox/networking/libiproute/iproute.c:1.14
--- busybox/networking/libiproute/iproute.c:1.13	Mon Mar 15 01:28:56 2004
+++ busybox/networking/libiproute/iproute.c	Wed Aug 11 02:10:58 2004
@@ -809,7 +809,7 @@
 {
 	const char *ip_route_commands[] = { "add", "append", "change", "chg",
 		"delete", "del", "get", "list", "show", "prepend", "replace", "test", "flush", 0 };
-	unsigned short command_num = 6;
+	unsigned short command_num = 7;
 	unsigned int flags = 0;
 	int cmd = RTM_NEWROUTE;
 
@@ -850,4 +850,3 @@
 
 	return iproute_modify(cmd, flags, argc-1, argv+1);
 }
-



More information about the busybox-cvs mailing list