X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tc%2Ftc_filter.c;h=0c63a9028300940e89bd4816d019cc56a7dbe608;hb=e5879dc603ca2e9f27ca6d754fdf5e20f8072344;hp=af663ddf936c4d0a4aa71e9c2e862b667a55bae7;hpb=a2d3ff9b836249d0834c366797253912b9cba74e;p=mirror_iproute2.git diff --git a/tc/tc_filter.c b/tc/tc_filter.c index af663ddf..0c63a902 100644 --- a/tc/tc_filter.c +++ b/tc/tc_filter.c @@ -254,8 +254,8 @@ static int print_filter(const struct sockaddr_nl *who, } fprintf(fp, "\n"); - if (show_stats && tb[TCA_STATS]) { - print_tcstats_attr(fp, tb[TCA_STATS]); + if (show_stats && (tb[TCA_STATS] || tb[TCA_STATS2])) { + print_tcstats_attr(fp, tb, " ", NULL); fprintf(fp, "\n"); }