← Commit list

4014ab1c6

Glenn L McGrath
Glenn L McGrath
2004-08-11
FAILED Duration: 25s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/libiproute/iproute.c+1 -2
@@ -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);
}
-