Merge into master from pull request #169:
wireshark: support of_checksum_128_t (https://github.com/floodlight/loxigen/pull/169)
diff --git a/wireshark_gen/templates/_oftype_readers.lua b/wireshark_gen/templates/_oftype_readers.lua
index bf83de0..d80323c 100644
--- a/wireshark_gen/templates/_oftype_readers.lua
+++ b/wireshark_gen/templates/_oftype_readers.lua
@@ -49,6 +49,10 @@
read_scalar(reader, subtree, field_name, 16)
end
+function read_of_checksum_128_t(reader, version, subtree, field_name)
+ read_scalar(reader, subtree, field_name, 16)
+end
+
function read_of_octets_t(reader, version, subtree, field_name)
if not reader.is_empty() then
subtree:add(fields[field_name], reader.read_all())