forked from osmocom/wireshark
From Patrick Lundquist:
the Lua dissector example in wsluarm.xml uses C defines instead of Lua defines where display bases for ProtoFields are used. svn path=/trunk/; revision=22853
This commit is contained in:
parent
f891c2cc6a
commit
626c9f3d61
|
@ -51,8 +51,8 @@ do
|
|||
[8] = "nbap"
|
||||
}
|
||||
|
||||
local f_proto = ProtoField.uint8("multi.protocol","Protocol",BASE_DEC,vs_protos)
|
||||
local f_dir = ProtoField.uint8("multi.direction","Direction",BASE_DEC,{ [1] = "incoming", [0] = "outgoing"})
|
||||
local f_proto = ProtoField.uint8("multi.protocol","Protocol",base.DEC,vs_protos)
|
||||
local f_dir = ProtoField.uint8("multi.direction","Direction",base.DEC,{ [1] = "incoming", [0] = "outgoing"})
|
||||
local f_text = ProtoField.string("multi.text","Text")
|
||||
|
||||
p_multi.fields = { f_proto, f_dir, f_text }
|
||||
|
|
Loading…
Reference in New Issue