Ask Your Question

Revision history [back]

I don't know which specific version(s) of Wireshark your lab PC's are running, but the old way prior to version 1.8 should be to omit the ftypes. prefix, like so:

f.fieldname = ProtoField.new("name", "description", UINT16)

Compare how ftenums[] is declared between version 1.6 and version 1.8.

If you can't update your lab PC's to the latest stable version, then you might want to consider at least updating them to the latest 1.X version possible. Reference the End of Life planning table on the Wireshark LifeCycle wiki page for some guidelines that may help decide which version is likely possible in your case.