From: Glenn L McGrath Date: Wed, 11 Aug 2004 08:10:58 +0000 (-0000) Subject: Set default command to list rather than get, its default behaviour now X-Git-Tag: 1_00_rc3~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4014ab1c6072bc6c2e9604c06960779b191ee566;p=oweals%2Fbusybox.git Set default command to list rather than get, its default behaviour now coincides with upstream. Patch from debian diff. --- diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 7adbfcd61..9c57140a5 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c @@ -809,7 +809,7 @@ int do_iproute(int argc, char **argv) { 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 @@ int do_iproute(int argc, char **argv) return iproute_modify(cmd, flags, argc-1, argv+1); } -