This makes the command's behavior more predictable when there is more than one database.
Signed-off-by: Ben Pfaff <[email protected]> --- ovsdb/ovsdb-client.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index 12f34d5..d5d2189 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -405,6 +405,7 @@ do_list_dbs(struct jsonrpc *rpc, const char *database OVS_UNUSED, svec_init(&dbs); fetch_dbs(rpc, &dbs); + svec_sort(&dbs); SVEC_FOR_EACH (i, db_name, &dbs) { puts(db_name); } -- 1.7.2.5 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
