commit | 3005cf9f93374b77b3436fd35c5000d460612979 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Wed May 01 12:33:35 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Wed May 01 12:33:35 2013 -0700 |
tree | 0b88b4986dc5f7f9ff3396984b466b252c6e2d39 | |
parent | b00a75fb8b87a81013c8b49d6e911bdff0fd2205 [diff] [blame] |
pyloxi: support (only) empty 1.2/1.3 matches
diff --git a/py_gen/codegen.py b/py_gen/codegen.py index 82bf772..f55610b 100644 --- a/py_gen/codegen.py +++ b/py_gen/codegen.py
@@ -87,6 +87,8 @@ oxm_len = of_g.base_length[(cls, version)] type_values['type_len'] = '%#x' % (oxm_class << 16 | oxm_type << 8 | \ oxm_masked << 8 | oxm_len) + elif cls == "of_match_v3": + type_values['type'] = 1 return type_values