I've made the example mytap_menu() of https://wiki.wireshark.org/Lua/Taps
How can I reload the capture directly in the Lua script and have the results directly when clicking on the menu. asked 12 Oct '16, 03:21 TomLaBaude |
One Answer:
There seems to be a If you are developing a new Lua dissector, note that the Analyze menu has a Reload Lua Plugins (Ctrl+Shift+L) option that will automatically reload the Lua script and capture file as needed. answered 16 Oct '16, 13:42 Lekensteyn |
Try
retap_packets()
first, if the goal is to run the tap so it can process the packets and display the results; if the tap doesn't actually affect the dissection of packets, that's cheaper, as it doesn't cause a redisplay.Thanks guys, both worked, I'll keep in mind the difference