From ff76549013c31082d303b3feef755bbd35e13ec6 Mon Sep 17 00:00:00 2001 From: Denys Fedoryschenko Date: Sat, 14 Nov 2009 21:10:18 +0200 Subject: [PATCH] one more fix, u32.c One more segfault, also nl-tctree-list , fix Probably need reformat for better look Patch attached --- lib/route/cls/u32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/route/cls/u32.c b/lib/route/cls/u32.c index 46d502b..80b8851 100644 --- a/lib/route/cls/u32.c +++ b/lib/route/cls/u32.c @@ -296,8 +296,7 @@ static void u32_dump_stats(struct rtnl_cls *cls, struct nl_dump_params *p) if (u->cu_mask & U32_ATTR_PCNT) { struct tc_u32_pcnt *pc = u->cu_pcnt->d_data; nl_dump(p, "\n"); - nl_dump_line(p, "%s successful hits\n"); - nl_dump_line(p, "%s %8llu %8llu\n", + nl_dump_line(p, " hit %8llu count %8llu\n", pc->rhit, pc->rcnt); } }