Merge branch 'iproute2-master' into iproute2-next
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
commit
1e24e773f1
|
|
@ -1 +1 @@
|
||||||
static const char SNAPSHOT[] = "171113";
|
static const char SNAPSHOT[] = "180129";
|
||||||
|
|
|
||||||
|
|
@ -598,7 +598,7 @@ static void print_link_stats64(FILE *fp, const struct rtnl_link_stats64 *s,
|
||||||
const struct rtattr *carrier_changes)
|
const struct rtattr *carrier_changes)
|
||||||
{
|
{
|
||||||
if (is_json_context()) {
|
if (is_json_context()) {
|
||||||
open_json_object("stats644");
|
open_json_object("stats64");
|
||||||
|
|
||||||
/* RX stats */
|
/* RX stats */
|
||||||
open_json_object("rx");
|
open_json_object("rx");
|
||||||
|
|
|
||||||
|
|
@ -846,7 +846,7 @@ void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtat
|
||||||
print_string(PRINT_FP, NULL, "backlog %s",
|
print_string(PRINT_FP, NULL, "backlog %s",
|
||||||
sprint_size(q.backlog, b1));
|
sprint_size(q.backlog, b1));
|
||||||
print_uint(PRINT_ANY, "qlen", " %up", q.qlen);
|
print_uint(PRINT_ANY, "qlen", " %up", q.qlen);
|
||||||
print_uint(PRINT_ANY, "requeues", " requeues %u", q.qlen);
|
print_uint(PRINT_FP, NULL, " requeues %u", q.requeues);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xstats)
|
if (xstats)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue