mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
tc: print unknown action on stderr
This is an error, and should not go to stdout. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
46031294e3
commit
b958d3c25d
@ -62,7 +62,7 @@ static void act_usage(void)
|
||||
static int print_noaopt(struct action_util *au, FILE *f, struct rtattr *opt)
|
||||
{
|
||||
if (opt && RTA_PAYLOAD(opt))
|
||||
fprintf(f, "[Unknown action, optlen=%u] ",
|
||||
fprintf(stderr, "[Unknown action, optlen=%u] ",
|
||||
(unsigned int) RTA_PAYLOAD(opt));
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user