commit | 221608035110e2c2fa9d3e79f61eac91dfb7a7ca | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Wed May 01 14:04:23 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Wed May 01 14:04:23 2013 -0700 |
tree | 7a5caa2cf8df37c45b3a3d535e123a18022ae44f | |
parent | ef0b8876269808016cd19cc77549a743157dea5b [diff] [blame] |
pyloxi: skip padding after reading of_match_v3
diff --git a/py_gen/templates/_unpack.py b/py_gen/templates/_unpack.py index 6bf0db6..7f3ce2a 100644 --- a/py_gen/templates/_unpack.py +++ b/py_gen/templates/_unpack.py
@@ -52,3 +52,6 @@ obj.${m.name} = ${m.oftype.gen_unpack_expr(reader_expr)} :: #endif :: #endfor +:: if ofclass.name == 'of_match_v3': + reader.skip((_length + 7)/8*8 - _length) +:: #endif