summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-07-28 16:49:06 -0700
committerEthan Jackson <ethan@nicira.com>2011-07-28 17:06:00 -0700
commitdb5b4525b20e0fd6a079831638b5eb3f9fb131f2 (patch)
tree9a36326c0b21d88497ee8adaa2aa672bf63177da /utilities
parentf6749eeaea2dd15f195ade25db627d5275903b59 (diff)
downloadopenvswitch-db5b4525b20e0fd6a079831638b5eb3f9fb131f2.tar.gz
ovs-ofctl: Print human readable nx_pull_match() errors.
I've found this makes debugging a bit easier.
Diffstat (limited to 'utilities')
-rw-r--r--utilities/ovs-ofctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index fef7fdacc..6be899b1e 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -1402,7 +1402,8 @@ do_parse_nx_match(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
puts(out);
free(out);
} else {
- printf("nx_pull_match() returned error %x\n", error);
+ printf("nx_pull_match() returned error %x (%s)\n", error,
+ ofputil_error_to_string(error));
}
ofpbuf_uninit(&nx_match);