]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
one more fix, u32.c
authorDenys Fedoryschenko <denys@visp.net.lb>
Sat, 14 Nov 2009 19:10:18 +0000 (21:10 +0200)
committerThomas Graf <tgraf@suug.ch>
Mon, 7 Dec 2009 15:27:59 +0000 (16:27 +0100)
One more segfault, also nl-tctree-list , fix
Probably need reformat for better look
Patch attached

lib/route/cls/u32.c

index 46d502bc8233249d2f46d260c51038def6617eaf..80b88513dbb4650cc17e9f040da14dbf5b9abc3e 100644 (file)
@@ -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);
        }
 }