From 4014ab1c6072bc6c2e9604c06960779b191ee566 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 11 Aug 2004 08:10:58 +0000 Subject: Set default command to list rather than get, its default behaviour now coincides with upstream. Patch from debian diff. --- networking/libiproute/iproute.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } - -- cgit v1.2.3