aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorDr. Lars Völker <lars.voelker@technica-engineering.de>2022-07-10 21:54:11 +0200
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-07-11 15:42:19 +0000
commit868492fd2ae8aac122d9886e6c6592f14aa5c42a (patch)
treed9109b518dd7250a7749de7cfddd1a0563359b5f /epan/addr_resolv.c
parent0a6eae4df1bc38b0865b749df8a845475e27dc2f (diff)
Addr-Resolv: close vlans file on changing profile (BUGFIX)
Currently Wireshark does not close the vlans file on profile change. This leads to major problems, when vlan resolution is turned on: - Deleting a profile (not even selected) is not possible without exiting Wireshark. - Switching from one profile with vlans to another with vlans, does not switch the resolution but stays on the names of the old profile!
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 2c7e94966c..c892e42a78 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -2228,6 +2228,7 @@ initialize_vlans(void)
static void
vlan_name_lookup_cleanup(void)
{
+ end_vlanent();
vlan_hash_table = NULL;
g_free(g_pvlan_path);
g_pvlan_path = NULL;