projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf4732
)
Set default command to list rather than get, its default behaviour now
author
Glenn L McGrath
<bug1@ihug.co.nz>
Wed, 11 Aug 2004 08:10:58 +0000
(08:10 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Wed, 11 Aug 2004 08:10:58 +0000
(08:10 -0000)
coincides with upstream. Patch from debian diff.
networking/libiproute/iproute.c
patch
|
blob
|
history
diff --git
a/networking/libiproute/iproute.c
b/networking/libiproute/iproute.c
index 7adbfcd61a247667f6733e777b79361b1e616c8b..9c57140a580364885ec66f8bfec662c33e71a8fa 100644
(file)
--- 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);
}
-