Merge into master from pull request #319:
Adding an oxm for mpls BoS indicator bit (https://github.com/floodlight/loxigen/pull/319)
diff --git a/wireshark_gen/templates/_oftype_readers.lua b/wireshark_gen/templates/_oftype_readers.lua
index f7eb79c..48cb447 100644
--- a/wireshark_gen/templates/_oftype_readers.lua
+++ b/wireshark_gen/templates/_oftype_readers.lua
@@ -68,8 +68,12 @@
dissect_of_match_v1_v1(reader, subtree:add("of_match"))
elseif version == 2 then
dissect_of_match_v2_v2(reader, subtree:add("of_match"))
- elseif version >= 3 then
+ elseif version == 3 then
dissect_of_match_v3_v3(reader, subtree:add("of_match"))
+ elseif version == 4 then
+ dissect_of_match_v3_v4(reader, subtree:add("of_match"))
+ else
+ error("Unsupported match version")
end
end