From: Ben Pfaff Date: Tue, 20 May 2008 23:46:15 +0000 (-0700) Subject: Put newline before packet info in ofp_packet_out pretty-print output. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdac0887d266b02f22648ffdd0d9c0fc0b5bac10;p=openvswitch Put newline before packet info in ofp_packet_out pretty-print output. --- diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 8579cab5..a1e4dc9d 100644 --- 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); }