summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/ofproto/oxm_fields.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ryu/ofproto/oxm_fields.py b/ryu/ofproto/oxm_fields.py
index 1ca5f657..2e58386b 100644
--- a/ryu/ofproto/oxm_fields.py
+++ b/ryu/ofproto/oxm_fields.py
@@ -230,6 +230,10 @@ def parse(mod, buf, offset):
offset + hdr_len)
exp_hdr_len = struct.calcsize(exp_hdr_pack_str)
if exp_id == ofproto_common.ONF_EXPERIMENTER_ID:
+ # XXX
+ # This block implements EXT-256 style experimenter OXM.
+ # However, according to blp, the extension will be rectified.
+ # https://www.mail-archive.com/dev%40openvswitch.org/msg37644.html
onf_exp_type_pack_str = '!H'
(exp_type, ) = struct.unpack_from(onf_exp_type_pack_str, buf,
offset + hdr_len + exp_hdr_len)