From: Ben Pfaff Date: Tue, 12 May 2009 20:41:02 +0000 (-0700) Subject: cfg-mod: Make --query print all values, not just those that are valid keys. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abbe4c45351e6321d1d548cdb0057f73d49a5db8;p=openvswitch cfg-mod: Make --query print all values, not just those that are valid keys. A "key" has a strict syntax, so calling cfg_get_all_keys() will discard all the values that don't have that syntax. --- diff --git a/utilities/cfg-mod.c b/utilities/cfg-mod.c index 0e3de885..f62ffef8 100644 --- a/utilities/cfg-mod.c +++ b/utilities/cfg-mod.c @@ -79,7 +79,7 @@ print_vals(char *key) int i; svec_init(&vals); - cfg_get_all_keys(&vals, "%s", key); + cfg_get_all_strings(&vals, "%s", key); for (i=0; i