X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-print.c;h=de2c2339d1f1229daf16c5c3490f74e164a99f25;hb=034f125955a786ed35052da688e77d6fc2422def;hp=65c7d07219844d48a57ea842d52cba422d9ce220;hpb=801b972cf292feaa991a826d80737104778df89b;p=openvswitch diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 65c7d072..de2c2339 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -891,9 +891,12 @@ ofp_table_stats_reply(struct ds *string, const void *body, size_t len, ds_put_format(string, " %d: %-8s: ", ts->table_id, name); ds_put_format(string, "wild=0x%05"PRIx32", ", ntohl(ts->wildcards)); ds_put_format(string, "max=%6"PRIu32", ", ntohl(ts->max_entries)); - ds_put_format(string, "active=%6"PRIu32", ", ntohl(ts->active_count)); - ds_put_format(string, "matched=%6"PRIu64"\n", - ntohll(ts->matched_count)); + ds_put_format(string, "active=%"PRIu32"\n", ntohl(ts->active_count)); + ds_put_cstr(string, " "); + ds_put_format(string, "lookup=%"PRIu64", ", + ntohll(ts->lookup_count)); + ds_put_format(string, "matched=%"PRIu64"\n", + ntohll(ts->matched_count)); } }