ofp-util: Correct comment above ofputil_append_port_stat()
authorSimon Horman <horms@verge.net.au>
Fri, 12 Oct 2012 04:01:05 +0000 (13:01 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Oct 2012 16:46:41 +0000 (09:46 -0700)
This function changed a few times before it was merged,
unfortunately at some point the comment wasn't kept in sync
with the changes.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.c

index 2d81967d85bc8db68e62ca063f3b4bf5d2baa4a8..848455d12414d1cb3a2b07cbd7aa15d44aac224f 100644 (file)
@@ -4010,8 +4010,7 @@ ofputil_port_stats_to_ofp11(const struct ofputil_port_stats *ops,
     ps11->collisions = htonll(ops->stats.collisions);
 }
 
-/* Encode a ports stat for 'opes' and append it to 'replies'.
- * The encoded message will be for Open Flow version 'ofp_version'. */
+/* Encode a ports stat for 'ops' and append it to 'replies'. */
 void
 ofputil_append_port_stat(struct list *replies,
                          const struct ofputil_port_stats *ops)