]> git.proxmox.com Git - ovs.git/commitdiff
ofp-actions: Correct member name for write_actions.
authorBen Pfaff <blp@ovn.org>
Fri, 15 Jul 2016 21:13:02 +0000 (14:13 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 8 Aug 2016 16:11:21 +0000 (09:11 -0700)
For a variable-length action like write_actions, the member name is
supposed to be the name of the variable-length array at the end of the
action structure.  It only makes a real difference if the beginning of the
array is not 64-bit aligned, so it did not matter in this case, but it's
better to get it right.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
include/openvswitch/ofp-actions.h

index 42764b12074e9768bf2b4a1c3815ae869646475b..a0cefe322aa314c4d2f999d43afe63555a656a31 100644 (file)
     /* Instructions. */                                                 \
     OFPACT(METER,           ofpact_meter,       ofpact, "meter")        \
     OFPACT(CLEAR_ACTIONS,   ofpact_null,        ofpact, "clear_actions") \
-    OFPACT(WRITE_ACTIONS,   ofpact_nest,        ofpact, "write_actions") \
+    OFPACT(WRITE_ACTIONS,   ofpact_nest,        actions, "write_actions") \
     OFPACT(WRITE_METADATA,  ofpact_metadata,    ofpact, "write_metadata") \
     OFPACT(GOTO_TABLE,      ofpact_goto_table,  ofpact, "goto_table")