aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2003-05-04 18:50:56 +0000
committerGerald Combs <gerald@wireshark.org>2003-05-04 18:50:56 +0000
commit1d9b54fc072952758813d6cbce25bbe1ef8c2ac3 (patch)
tree1fc6bf8e2065199f49398fdfb4c3ef23ac1ab398 /epan/epan.c
parent5cc92eeb86806e56d7524c4887716b688fbdd0ca (diff)
Add support for asynchronous DNS updates using the GNU ADNS library.
Support can be enabled at configure time by using "--with-adns=DIR". If support is enabled, async queries happen whenever host name resolution is enabled. Do we need a separate preference for async queries? Currently, only IPv4 reverse queries are supported. I can add IPv4 forward lookup support, but I don't have any way to test IPv6 queries. svn path=/trunk/; revision=7640
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 47586113dd..27fcb91177 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -1,6 +1,6 @@
/* epan.h
*
- * $Id: epan.c,v 1.22 2002/10/22 08:22:05 guy Exp $
+ * $Id: epan.c,v 1.23 2003/05/04 18:50:53 gerald Exp $
*
* Ethereal Protocol Analyzer Library
*/
@@ -19,6 +19,7 @@
#include "packet.h"
#include "column-utils.h"
#include "../tap.h"
+#include "resolv.h"
/*
* XXX - this takes the plugin directory as an argument, because
@@ -53,6 +54,7 @@ epan_init(const char *plugin_dir, void (register_all_protocols)(void),
packet_init();
dfilter_init();
final_registration_all_protocols();
+ host_name_lookup_init();
}
void
@@ -64,6 +66,7 @@ epan_cleanup(void)
frame_data_cleanup();
tvbuff_cleanup();
except_deinit();
+ host_name_lookup_cleanup();
}
void