Re: [Wireshark-dev] LUA development changing column headers

2008-06-16 Thread Luis EG Ontanon
s field, > which should mean that I can change say Protocol, where it normally puts > TCP, UDP, etc. to any string that I want? If so, what would be the > correct syntax to do so? pinfo.columns:_newindex("Protocol", > "NameOfProto") doesn't seem to work, which m

Re: [Wireshark-dev] LUA development changing column headers

2008-06-16 Thread Rowswell, Brent
To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] LUA development changing column headers You cannot add columns that way using Lua, Lua can use just the columns that are already there under pinfo.columns ... The outdated example you talk about does not create a column it just switches

Re: [Wireshark-dev] LUA development changing column headers

2008-06-13 Thread Luis EG Ontanon
You cannot add columns that way using Lua, Lua can use just the columns that are already there under pinfo.columns ... The outdated example you talk about does not create a column it just switches over the src and dst addresses. On Fri, Jun 13, 2008 at 12:04 AM, Rowswell, Brent <[EMAIL PROTECTED]

[Wireshark-dev] LUA development changing column headers

2008-06-12 Thread Rowswell, Brent
Over the past few weeks I've been trying to make a LUA script to parse out my header information, open up the packet and display the necessary data in a various tree structure. So far all of that has been done well enough, but I find that the packets that I have dissected come maybe once every 300