aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorDavid Perry <boolean263@protonmail.com>2021-01-07 16:21:42 -0500
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-04-02 06:48:42 +0000
commitc0abaa06f717a38ba15c24f10ee19fcc69b21537 (patch)
tree79e01e7dd752f0e0584e4ff7aa1ad06d0cb2d283 /epan/addr_resolv.c
parentb13065cdc08898298cb05a4aa5f297a81438c83a (diff)
maxmind: add optional synchronous lookups
When tshark enables synchronous resolution of IP addresses to names, forces calls to maxmind_db_lookup_ipv4()/_ipv6() to block-wait for the maxmind response. Proposed fix for #14691.
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 e3f203ac32..e84850ad47 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -533,6 +533,7 @@ void
set_resolution_synchrony(gboolean synchronous)
{
resolve_synchronously = synchronous;
+ maxmind_db_set_synchrony(synchronous);
}
static void