The values from multicast stats are 64 bit always.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 ip/ipmroute.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ip/ipmroute.c b/ip/ipmroute.c
index 59c5b7718e18..eb6b2816324f 100644
--- a/ip/ipmroute.c
+++ b/ip/ipmroute.c
@@ -182,14 +182,14 @@ int print_mroute(const struct sockaddr_nl *who, struct 
nlmsghdr *n, void *arg)
                struct rta_mfc_stats *mfcs = RTA_DATA(tb[RTA_MFC_STATS]);
 
                print_string(PRINT_FP, NULL, "%s", _SL_);
-               print_uint(PRINT_ANY, "packets", "  %"PRIu64" packets,",
+               print_uint64(PRINT_ANY, "packets", "  %"PRIu64" packets,",
                           mfcs->mfcs_packets);
-               print_uint(PRINT_ANY, "bytes", " %"PRIu64" bytes", 
mfcs->mfcs_bytes);
+               print_uint64(PRINT_ANY, "bytes", " %"PRIu64" bytes", 
mfcs->mfcs_bytes);
 
                if (mfcs->mfcs_wrong_if)
-                       print_uint(PRINT_ANY, "wrong_if",
-                                  ", %"PRIu64" arrived on wrong iif.",
-                                  mfcs->mfcs_wrong_if);
+                       print_uint64(PRINT_ANY, "wrong_if",
+                                    ", %"PRIu64" arrived on wrong iif.",
+                                    mfcs->mfcs_wrong_if);
        }
 
        if (show_stats && tb[RTA_EXPIRES]) {
-- 
2.17.0

Reply via email to