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 b875ec4..142943f 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) {