OVS uses spaces for indentation in source code and it makes sense for it to also use spaces for indentation in output. Spaces also consume less horizontal space in output, which often makes it easier to read. This commit transitions one part of output from tabs to spaces and updates appropriate parts of the tests to match.
Signed-off-by: Ben Pfaff <b...@ovn.org> --- ofproto/ofproto-dpif-upcall.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index d80a10d31b7d..85f5792519b3 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -2725,11 +2725,11 @@ upcall_unixctl_show(struct unixctl_conn *conn, int argc OVS_UNUSED, ufid_enabled = udpif_use_ufid(udpif); ds_put_format(&ds, "%s:\n", dpif_name(udpif->dpif)); - ds_put_format(&ds, "\tflows : (current %lu)" + ds_put_format(&ds, " flows : (current %lu)" " (avg %u) (max %u) (limit %u)\n", udpif_get_n_flows(udpif), udpif->avg_n_flows, udpif->max_n_flows, flow_limit); - ds_put_format(&ds, "\tdump duration : %lldms\n", udpif->dump_duration); - ds_put_format(&ds, "\tufid enabled : "); + ds_put_format(&ds, " dump duration : %lldms\n", udpif->dump_duration); + ds_put_format(&ds, " ufid enabled : "); if (ufid_enabled) { ds_put_format(&ds, "true\n"); } else { @@ -2744,7 +2744,7 @@ upcall_unixctl_show(struct unixctl_conn *conn, int argc OVS_UNUSED, for (j = i; j < N_UMAPS; j += n_revalidators) { elements += cmap_count(&udpif->ukeys[j].cmap); } - ds_put_format(&ds, "\t%u: (keys %d)\n", revalidator->id, elements); + ds_put_format(&ds, " %u: (keys %d)\n", revalidator->id, elements); } } -- 2.16.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev