As per parsers for earlier OF versions, include 4 trailing bytes in the header.
Signed-off-by: Simon Horman <[email protected]> --- ryu/ofproto/ofproto_v1_4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.py index 11408a7..d987835 100644 --- a/ryu/ofproto/ofproto_v1_4.py +++ b/ryu/ofproto/ofproto_v1_4.py @@ -408,8 +408,8 @@ OFPAT_EXPERIMENTER = 0xffff # struct ofp_action_header -OFP_ACTION_HEADER_PACK_STR = '!HH' -OFP_ACTION_HEADER_SIZE = 4 +OFP_ACTION_HEADER_PACK_STR = '!HH4x' +OFP_ACTION_HEADER_SIZE = 8 assert calcsize(OFP_ACTION_HEADER_PACK_STR) == OFP_ACTION_HEADER_SIZE # enum ofp_controller_max_len -- 1.8.5.2 ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
