summaryrefslogtreecommitdiff
path: root/lib/ofp-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ofp-print.c')
-rw-r--r--lib/ofp-print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ofp-print.c b/lib/ofp-print.c
index 68e382471..05a39c22b 100644
--- a/lib/ofp-print.c
+++ b/lib/ofp-print.c
@@ -1634,12 +1634,12 @@ print_tlv_table(struct ds *s, struct ovs_list *mappings)
struct ofputil_tlv_map *map;
ds_put_cstr(s, " mapping table:\n");
- ds_put_cstr(s, " class\ttype\tlength\tmatch field\n");
- ds_put_cstr(s, " -----\t----\t------\t-----------");
+ ds_put_cstr(s, " class type length match field\n");
+ ds_put_cstr(s, " ------ ---- ------ --------------");
LIST_FOR_EACH (map, list_node, mappings) {
- ds_put_char(s, '\n');
- ds_put_format(s, " 0x%"PRIx16"\t0x%"PRIx8"\t%"PRIu8"\ttun_metadata%"PRIu16,
+ ds_put_format(s, "\n %#6"PRIx16" %#4"PRIx8" %6"PRIu8" "
+ "tun_metadata%"PRIu16,
map->option_class, map->option_type, map->option_len,
map->index);
}