summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-08-11 08:10:58 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2004-08-11 08:10:58 +0000
commit4014ab1c6072bc6c2e9604c06960779b191ee566 (patch)
tree57b60eecea4dc2627bf92adf6ce0040707b3e1e1 /networking
parentfcf47321d4b121cd2de73c8d29fface50e192ae2 (diff)
Set default command to list rather than get, its default behaviour now
coincides with upstream. Patch from debian diff.
Diffstat (limited to 'networking')
-rw-r--r--networking/libiproute/iproute.c3
1 files changed, 1 insertions, 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);
}
-