From 828519ca71c5902a7c9784896312b00e094f4d1a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 25 May 2018 16:59:40 -0700 Subject: bond: Remove tabs from output. 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 Acked-by: Justin Pettit --- ofproto/bond.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ofproto/bond.c') diff --git a/ofproto/bond.c b/ofproto/bond.c index 11d28e137..f87cdba79 100644 --- a/ofproto/bond.c +++ b/ofproto/bond.c @@ -1374,15 +1374,15 @@ bond_print_details(struct ds *ds, const struct bond *bond) ds_put_format(ds, "\nslave %s: %s\n", slave->name, slave->enabled ? "enabled" : "disabled"); if (slave == bond->active_slave) { - ds_put_cstr(ds, "\tactive slave\n"); + ds_put_cstr(ds, " active slave\n"); } if (slave->delay_expires != LLONG_MAX) { - ds_put_format(ds, "\t%s expires in %lld ms\n", + ds_put_format(ds, " %s expires in %lld ms\n", slave->enabled ? "downdelay" : "updelay", slave->delay_expires - time_msec()); } - ds_put_format(ds, "\tmay_enable: %s\n", + ds_put_format(ds, " may_enable: %s\n", slave->may_enable ? "true" : "false"); if (!bond_is_balanced(bond)) { @@ -1400,7 +1400,7 @@ bond_print_details(struct ds *ds, const struct bond *bond) be_tx_k = be->tx_bytes / 1024; if (be_tx_k) { - ds_put_format(ds, "\thash %d: %"PRIu64" kB load\n", + ds_put_format(ds, " hash %d: %"PRIu64" kB load\n", hash, be_tx_k); } -- cgit v1.2.1