projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c08c24
)
Put newline before packet info in ofp_packet_out pretty-print output.
author
Ben Pfaff
<blp@nicira.com>
Tue, 20 May 2008 23:46:15 +0000
(16:46 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 28 May 2008 16:58:22 +0000
(09:58 -0700)
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index 8579cab59771485994239bf0f0d79f1e5fbe4314..a1e4dc9dc5f4abca63f115fa35bf913140005962 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-267,6
+267,7
@@
static void ofp_packet_out(struct ds *string, const void *oh, size_t len,
if (verbosity > 0 && len > sizeof *opo) {
char *packet = ofp_packet_to_string(opo->u.data, len - sizeof *opo,
len - sizeof *opo);
+ ds_put_char(string, '\n');
ds_put_cstr(string, packet);
free(packet);
}