MarkoPaul0 / WireBait

Run and test your Lua Wireshark dissector without Wireshark or capture data.
Other
54 stars 15 forks source link

Fix HEX related base in ProtoField. #10

Closed pffang closed 5 years ago

pffang commented 5 years ago

When try to concatenate a string and ByteArray here, it will trigger a error: .\wirebaitlib\primitives\ByteArray.lua:50: attempt to concatenate field 'm_data_as_hex_str' (a nil value) Because a string doesn't have a member 'm_data_as_hex_str'. I fix it by convert the ByteArray to string before concatenating them.

MarkoPaul0 commented 5 years ago

@pffang this has been fixed recently in commit 4b419624e6fc47e29f42b48da8c804ea3d20c8ce.