summaryrefslogtreecommitdiffstats
path: root/tc/f_u32.c
diff options
context:
space:
mode:
authornet[shemminger]!shemminger <net[shemminger]!shemminger>2005-01-17 23:28:16 +0000
committernet[shemminger]!shemminger <net[shemminger]!shemminger>2005-01-17 23:28:16 +0000
commitb906243b62c832f24473de3ead7d7feef0e75e4b (patch)
treee73c175f888a41cbfd487647f3c4b1fcf2df4e71 /tc/f_u32.c
parent11dc2300050362c390c2087f6f7269d45a2504c3 (diff)
Import patch iproute2.116
(Logical change 1.118)
Diffstat (limited to 'tc/f_u32.c')
-rw-r--r--tc/f_u32.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tc/f_u32.c b/tc/f_u32.c
index d661f52b..1d96d63f 100644
--- a/tc/f_u32.c
+++ b/tc/f_u32.c
@@ -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]);
}
}