summaryrefslogtreecommitdiff
path: root/ui/cli
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-04-21 18:04:16 +0200
committerMichael Mann <mmann78@netscape.net>2016-06-14 19:33:04 +0000
commita7ab65df896aa2da858e0d0f8029335f19c8d034 (patch)
tree220d5df096128986e52bd4c885da448517bea009 /ui/cli
parent1dabd3a56dd641719138037ce1e9acb492781617 (diff)
downloadwireshark-a7ab65df896aa2da858e0d0f8029335f19c8d034.tar.gz
addr_resolv: change g_hash to wmem_map.
Change-Id: Ice7533fbeac700dae0a46766838818a32b0d5736 Reviewed-on: https://code.wireshark.org/review/15051 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/cli')
-rw-r--r--ui/cli/tap-hosts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/cli/tap-hosts.c b/ui/cli/tap-hosts.c
index e1772f2aed..f81a9fc739 100644
--- a/ui/cli/tap-hosts.c
+++ b/ui/cli/tap-hosts.c
@@ -71,8 +71,8 @@ static void
hosts_draw(void *dummy _U_)
{
- GHashTable *ipv4_hash_table;
- GHashTable *ipv6_hash_table;
+ wmem_map_t *ipv4_hash_table;
+ wmem_map_t *ipv6_hash_table;
printf("# TShark hosts output\n");
printf("#\n");
@@ -81,12 +81,12 @@ hosts_draw(void *dummy _U_)
ipv4_hash_table = get_ipv4_hash_table();
if (ipv4_hash_table) {
- g_hash_table_foreach( ipv4_hash_table, ipv4_hash_table_print_resolved, NULL);
+ wmem_map_foreach( ipv4_hash_table, ipv4_hash_table_print_resolved, NULL);
}
ipv6_hash_table = get_ipv6_hash_table();
if (ipv6_hash_table) {
- g_hash_table_foreach( ipv6_hash_table, ipv6_hash_table_print_resolved, NULL);
+ wmem_map_foreach( ipv6_hash_table, ipv6_hash_table_print_resolved, NULL);
}
}