diff options
author | net[shemminger]!shemminger <net[shemminger]!shemminger> | 2005-01-17 23:28:16 +0000 |
---|---|---|
committer | net[shemminger]!shemminger <net[shemminger]!shemminger> | 2005-01-17 23:28:16 +0000 |
commit | b906243b62c832f24473de3ead7d7feef0e75e4b (patch) | |
tree | e73c175f888a41cbfd487647f3c4b1fcf2df4e71 /tc/f_u32.c | |
parent | 11dc2300050362c390c2087f6f7269d45a2504c3 (diff) |
Import patch iproute2.116
(Logical change 1.118)
Diffstat (limited to 'tc/f_u32.c')
-rw-r--r-- | tc/f_u32.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1005,7 +1005,9 @@ static int u32_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __ } if (sel && show_stats && NULL != pf) - fprintf(f, " (rule hit %llu success %llu)",pf->rcnt,pf->rhit); + fprintf(f, " (rule hit %llu success %llu)", + (unsigned long long) pf->rcnt, + (unsigned long long) pf->rhit); if (tb[TCA_U32_MARK]) { struct tc_u32_mark *mark = RTA_DATA(tb[TCA_U32_MARK]); @@ -1028,7 +1030,8 @@ static int u32_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __ key->offmask ? "nexthdr+" : "", key->off); if (show_stats && NULL != pf) - fprintf(f, " (success %lld ) ",pf->kcnts[i]); + fprintf(f, " (success %lld ) ", + (unsigned long long) pf->kcnts[i]); } } |