Merge into master from pull request #358:
wireshark: fix header sanity checks for OF 1.4 (https://github.com/floodlight/loxigen/pull/358)
diff --git a/wireshark_gen/templates/openflow.lua b/wireshark_gen/templates/openflow.lua
index ef826c1..f96fccf 100644
--- a/wireshark_gen/templates/openflow.lua
+++ b/wireshark_gen/templates/openflow.lua
@@ -159,8 +159,8 @@
local msg_len = buf(offset+2,2):uint()
-- Detect obviously broken messages
- if msg_version == 0 or msg_version > 4 then break end
- if msg_type > 29 then break end
+ if msg_version == 0 or msg_version > 5 then break end
+ if msg_type > 34 then break end
if msg_len < 8 then break end
if offset + msg_len > buf:len() then