ofp-msgs: Fix definitions of OF1.4 OFPT_GET_ASYNC_REPLY and OFPT_SET_ASYNC.
authorBen Pfaff <blp@ovn.org>
Wed, 6 Jan 2016 21:38:20 +0000 (13:38 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 06:50:33 +0000 (22:50 -0800)
commitafe8a6c869d75d035b7550599234186b120a1afd
tree1883c28d431478de0a40c4d71fce9460683e67c0
parent33fa5fe5819b00b7e57b95405ccf9a2e8a4cd258
ofp-msgs: Fix definitions of OF1.4 OFPT_GET_ASYNC_REPLY and OFPT_SET_ASYNC.

The structures declared in ofp-msgs.h for messages definitions should not
include an OpenFlow header (its presence is implied), but the definition of
these messages did.  This commit fixes the definitions.

The visible bug was really minor here: messages of these kinds without any
TLVs would be rejected by the OpenFlow parser.  But OVS never sends these
messages without TLVs, so probably no one ever noticed this.  (Also, the
OVS support for OF1.4 is still incomplete and experimental.)

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
include/openflow/openflow-1.4.h
lib/ofp-msgs.h