Commit 302d3fb7 authored by Stephen Hemminger's avatar Stephen Hemminger

More TC patches from Jamal.

Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
parent 93576793
......@@ -58,6 +58,7 @@ void act_usage(void)
"\t\tExample ACTNAME is gact, mirred etc\n"
"\t\tEach action has its own parameters (ACTPARAMS)\n"
"\n");
exit(-1);
}
......
......@@ -60,6 +60,7 @@ explain(void)
#endif
}
static void
usage(void)
{
......@@ -67,7 +68,6 @@ usage(void)
exit(-1);
}
int
get_act(char ***argv_p)
{
......
......@@ -29,7 +29,7 @@ static void usage(void);
static void usage(void)
{
fprintf(stderr, "Usage: tc class [ add | del | change | replace ] dev STRING\n");
fprintf(stderr, "Usage: tc class [ add | del | change | get ] dev STRING\n");
fprintf(stderr, " [ classid CLASSID ] [ root | parent CLASSID ]\n");
fprintf(stderr, " [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n");
fprintf(stderr, "\n");
......
......@@ -32,7 +32,7 @@ static void usage(void);
static void usage(void)
{
fprintf(stderr, "Usage: tc filter [ add | del | change | replace ] dev STRING\n");
fprintf(stderr, "Usage: tc filter [ add | del | change | get ] dev STRING\n");
fprintf(stderr, " [ pref PRIO ] [ protocol PROTO ]\n");
fprintf(stderr, " [ estimator INTERVAL TIME_CONSTANT ]\n");
fprintf(stderr, " [ root | classid CLASSID ] [ handle FILTERID ]\n");
......
......@@ -29,7 +29,7 @@ static int usage(void);
static int usage(void)
{
fprintf(stderr, "Usage: tc qdisc [ add | del | replace | change ] dev STRING\n");
fprintf(stderr, "Usage: tc qdisc [ add | del | replace | change | get ] dev STRING\n");
fprintf(stderr, " [ handle QHANDLE ] [ root | ingress | parent CLASSID ]\n");
fprintf(stderr, " [ estimator INTERVAL TIME_CONSTANT ]\n");
fprintf(stderr, " [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment