aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-08-12 10:34:46 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-08-12 10:34:46 +0000
commit6bea15f3cb65b509046f427808c64872a82fa0e9 (patch)
tree88a715c3c35d0d2faa749d09f7ca6af7a936eb7c /version_info.c
parentbfc12627c962560edb409880effdc4a9342c73c2 (diff)
Added c-ares version string.
svn path=/trunk/; revision=25988
Diffstat (limited to 'version_info.c')
-rw-r--r--version_info.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/version_info.c b/version_info.c
index 459190b62e..5b1c9d0647 100644
--- a/version_info.c
+++ b/version_info.c
@@ -67,6 +67,10 @@
#include <windows.h>
#endif
+#ifdef HAVE_C_ARES
+#include <ares_version.h>
+#endif
+
#ifdef HAVE_LUA_5_1
#include <lua.h>
#endif
@@ -219,7 +223,8 @@ get_epan_compiled_version_info(GString *str)
/* c-ares */
g_string_append(str, ", ");
#ifdef HAVE_C_ARES
- g_string_append(str, "with c-ares");
+ g_string_append(str, "with c-ares ");
+ g_string_append(str, ARES_VERSION_STR);
#else
g_string_append(str, "without c-ares");
#endif /* HAVE_C_ARES */