ovs-ofctl: Print the offending flow on parse error when reading from a file.
authorAndrew Evans <aevans@nicira.com>
Fri, 17 Jun 2011 19:24:54 +0000 (12:24 -0700)
committerAndrew Evans <aevans@nicira.com>
Fri, 17 Jun 2011 19:25:42 +0000 (12:25 -0700)
commitec610b7bf4f4890f50c2c7d2fbfe6120ad9312f1
treeb503c9b5be3b1eb22f6da085dfacf600e95a1e9e
parentda7198b411d68df604db1a6132cf3be5c21842db
ovs-ofctl: Print the offending flow on parse error when reading from a file.

When an error is encountered while parsing flows from a file, ovs-ofctl doesn't
print the erroneous flow, so it's not always obvious which flow is causing
the error. Print the flow before the error message to make it clear.
lib/ofp-parse.c
lib/ofp-parse.h
utilities/ovs-ofctl.c