Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Lua vlan tag value extraction

Hello, I am writting a lua dissector (on top of UDP) and I need to use the vlan tag from the 802.1Q virtual lan layer. I can see the vlan I tried to extract the vlan tag like I extract the source address pinfo.cols.src. pinfo.cols.vlan is null in the coulmns in the GUI I can see the vlan tag correctly.

How do I get the vlan tag?