On 5/24/22 15:04, [email protected] wrote:
From: Lin Huang <[email protected]>

Fix comment typo.

Signed-off-by: Lin Huang <[email protected]>
---
  lib/ofp-msgs.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ofp-msgs.c b/lib/ofp-msgs.c
index 93aa81297..fdb898064 100644
--- a/lib/ofp-msgs.c
+++ b/lib/ofp-msgs.c
@@ -148,7 +148,7 @@ struct raw_instance {
  /* Information about a particular 'enum ofpraw'. */
  struct raw_info {
      /* All possible instantiations of this OFPRAW_* into OpenFlow headers. */
-    struct raw_instance *instances; /* min_version - max_version + 1 elems. */
+    struct raw_instance *instances; /* max_version - min_version + 1 elems. */
      uint8_t min_version;
      uint8_t max_version;

Good catch!
Acked-by: Adrian Moreno <[email protected]>

--
Adrián Moreno

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to