how to change COL_PROTOCOL with lua code
With C code, in the code sample, I guess:
Location at the WSDG 9.3. Dissection the code is
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FOO");
It will change the the content of PROTOCOL in the Wireshark, my question is, how to do the same thing with lua code.
i can see it in the same doc:
11.5.5.9. pinfo.curr_proto
It should be the VAR for changing it. But, how to use the "pinfo.curr_proto" to change protocol in column of main display pane with lua.
Thanks in advance!