From bdac0887d266b02f22648ffdd0d9c0fc0b5bac10 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 20 May 2008 16:46:15 -0700 Subject: [PATCH] Put newline before packet info in ofp_packet_out pretty-print output. --- lib/ofp-print.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2