parent
8dbb6b8d03
commit
035d16d594
|
|
@ -177,7 +177,7 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta)
|
||||||
memset(&st, 0, sizeof(st));
|
memset(&st, 0, sizeof(st));
|
||||||
memcpy(&st, RTA_DATA(rta), MIN(RTA_PAYLOAD(rta), sizeof(st)));
|
memcpy(&st, RTA_DATA(rta), MIN(RTA_PAYLOAD(rta), sizeof(st)));
|
||||||
|
|
||||||
fprintf(fp, " Sent %llu bytes %u pkts (dropped %u, overlimits %u requeus%u ) ",
|
fprintf(fp, " Sent %llu bytes %u pkts (dropped %u, overlimits %u requeues %u) ",
|
||||||
(unsigned long long)st.bytes, st.packets, st.drops,
|
(unsigned long long)st.bytes, st.packets, st.drops,
|
||||||
st.overlimits, st.reqs);
|
st.overlimits, st.reqs);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue