ofpbuf: fix struct comment
authorLorand Jakab <lojakab@cisco.com>
Fri, 4 Apr 2014 08:09:52 +0000 (11:09 +0300)
committerBen Pfaff <blp@nicira.com>
Fri, 4 Apr 2014 15:08:31 +0000 (08:08 -0700)
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofpbuf.h

index 3312e9b..ea863db 100644 (file)
@@ -67,11 +67,11 @@ struct ofpbuf {
     uint32_t allocated;         /* Number of bytes allocated. */
 
     void *frame;                /* Packet frame start, or NULL. */
-    uint16_t l2_5_ofs;          /* MPLS label stack offset from 'packet', or
+    uint16_t l2_5_ofs;          /* MPLS label stack offset from 'frame', or
                                  * UINT16_MAX */
-    uint16_t l3_ofs;            /* Network-level header offset from 'packet',
+    uint16_t l3_ofs;            /* Network-level header offset from 'frame',
                                    or UINT16_MAX. */
-    uint16_t l4_ofs;            /* Transport-level header offset from 'packet',
+    uint16_t l4_ofs;            /* Transport-level header offset from 'frame',
                                    or UINT16_MAX. */
     enum ofpbuf_source source;  /* Source of memory allocated as 'base'. */
     struct list list_node;      /* Private list element for use by owner. */