Fixed problem where the first line of a stats reply message was not showing up on...
authorJustin Pettit <jpettit@nicira.com>
Wed, 7 May 2008 22:35:53 +0000 (15:35 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 7 May 2008 22:35:53 +0000 (15:35 -0700)
lib/ofp-print.c

index b875ec415eed38283ded08e0669fe10f976e5b0a..142943fbae08f63a7483ff8ae5778b82d3dd17d9 100644 (file)
@@ -642,7 +642,7 @@ print_stats(struct ds *string, int type, const void *body, size_t body_len,
         return;
     }
     s = &stats_types[type];
-    ds_put_format(string, " type=%d(%s)", type, s->name);
+    ds_put_format(string, " type=%d(%s)\n", type, s->name);
 
     m = direction == REQUEST ? &s->request : &s->reply;
     if (body_len < m->min_body || body_len > m->max_body) {