diff options
author | Hadriel Kaplan <hadrielk@yahoo.com> | 2015-07-04 01:12:56 -0400 |
---|---|---|
committer | Hadriel Kaplan <hadrielk@yahoo.com> | 2015-07-04 05:26:27 +0000 |
commit | dd8311d2ed09c34fd7b7206ed9ea95b8cee7c85a (patch) | |
tree | cef293e56ed7a2bc535669d42cfaf9b4640c166c /epan/dissectors/packet-udp.c | |
parent | c6f41124af3ecc1b9accb734504de03b474e5172 (diff) |
Lua: split init/cleanup routines
The epan init routines have been split up into init vs. cleanup, where the
init routines are only invoked when a file is opened, and the cleanup ones are
invoked multiple times, such as on a re-scan of packets.
Since the Lua API's Proto.init() callback is supposed to be invoked at both
init and cleanup times, the wslua code now invokes it in both of epan's init
and cleanup routines.
Change-Id: I51a4d8bc02630a4d2db5408c37f7eb8f6e0ce88c
Reviewed-on: https://code.wireshark.org/review/9491
Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com>
Petri-Dish: Hadriel Kaplan <hadrielk@yahoo.com>
Tested-by: Hadriel Kaplan <hadrielk@yahoo.com>
Diffstat (limited to 'epan/dissectors/packet-udp.c')
0 files changed, 0 insertions, 0 deletions