summaryrefslogtreecommitdiff
path: root/ofproto/bond.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-05-25 16:59:40 -0700
committerBen Pfaff <blp@ovn.org>2018-06-11 15:31:57 -0700
commit828519ca71c5902a7c9784896312b00e094f4d1a (patch)
treea05df25760dea593c2bc6366095da442ac350358 /ofproto/bond.c
parent957ee508d2e26aceed1cc2d307e9fffa2f3b18b9 (diff)
downloadopenvswitch-828519ca71c5902a7c9784896312b00e094f4d1a.tar.gz
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 <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'ofproto/bond.c')
-rw-r--r--ofproto/bond.c8
1 files changed, 4 insertions, 4 deletions
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);
}