Wireshark-bugs: [Wireshark-bugs] [Bug 8357] Lua __tostring() metamethod of FieldInfo can cause e
Date: Tue, 19 Feb 2013 22:44:41 +0000

changed bug 8357

What Removed Added
Attachment #10053 Flags   review_for_checkin?

Comment # 1 on bug 8357 from
Created attachment 10053 [details]
Small patch to fix the bug, and provide a 'display' accessor too

This patch fixes the bug, such that calling tostring() on a FieldInfo object
always returns a string, although the string might be '(unknown)', '(none)', or
'(n/a)' depending on the scenario.

Also it creates a new 'FieldInfo.display' accessor table member, which the Lua
script can use instead of tostring() to get what the GUI displays.


You are receiving this mail because:
  • You are watching all bug changes.