Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] cleanup_dissection() called both on cf_close and cf_open()

From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Sun, 24 Mar 2013 15:37:39 +0100
Hi,
Looking into address resolution I found that the hosts file is read multiple times partly because it's part of cleanup_dissection() which is called both on cf_open() and cf_close().

Should cleanup_dissection() take an argument showing whether its a file open or file close operation and different measures taken at least when it comes to the host_name_lockup...?

Regards
Anders