mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-13 08:36:35 +02:00
Correct OF1.4 OFP_ACTION_HEADER_PACK_STR
As per parsers for earlier OF versions, include 4 trailing bytes in the header. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
d4c259dace
commit
f5289a08b0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user