Before this commit, the first flow in "ovs-ofctl dump-flows" output was
printed on the same line as the OpenFlow message type name and the xid.
With this commit, that flow is put on a line of its own, like all of the
other flows in the output.
Requested-by: Paul Ingram <paul@nicira.com>
CC: Paul Ingram <paul@nicira.com>
ptrdiff_t bytes_left = body + len - pos;
size_t length;
+ ds_put_char(string, '\n');
+
if (bytes_left < sizeof *fs) {
if (bytes_left != 0) {
ds_put_format(string, " ***%td leftover bytes at end***",
}
ofp_print_match(string, &fs->match, verbosity);
ofp_print_actions(string, fs->actions, length - sizeof *fs);
- ds_put_char(string, '\n');
pos += length;
}