[ovs-dev] [PATCH] ofp-util: Correct comment above ofputil_append_port_stat()

Simon Horman horms at verge.net.au
Fri Oct 12 04:01:05 UTC 2012

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 at verge.net.au>
 lib/ofp-util.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index c6d979e..daddd14 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -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'. */
 ofputil_append_port_stat(struct list *replies,
                          const struct ofputil_port_stats *ops)

More information about the dev mailing list