mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
ip: print mpls errors on stderr
Error messages should go on stderr. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
523692fa17
commit
6c9940eca1
@ -1628,7 +1628,7 @@ static void print_af_stats_attr(FILE *fp, int ifindex, struct rtattr *attr)
|
||||
print_mpls_stats(fp, i);
|
||||
break;
|
||||
default:
|
||||
fprintf(fp, " unknown af(%d)\n", i->rta_type);
|
||||
fprintf(stderr, " unknown af(%d)\n", i->rta_type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user