aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-23 14:55:56 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-23 21:56:42 +0000
commit1d92195de847a30e570ca690ab0a2034cb3a51d3 (patch)
tree95b000735679f0b957b8c9eecc9ad4d700ea4efc /version_info.c
parentdd7134d907350ccc574cdec596f4162860912bb9 (diff)
Have individual programs get libpcap and libz version info.
That way, the code that constructs the runtime version string doesn't itself have to call libpcap and libz, and could be usable in programs that don't call them. While we're at it, add "with" to the run-time version information for GnuTLS and libgcrypt, to match the compile-time version information, and add the version information from libwireshark to TShark. Change-Id: I3726a027d032270b032292da9314c1cec535dcd2 Reviewed-on: https://code.wireshark.org/review/2587 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'version_info.c')
-rw-r--r--version_info.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/version_info.c b/version_info.c
index 63adc39991..888d7ea4c5 100644
--- a/version_info.c
+++ b/version_info.c
@@ -180,15 +180,6 @@ get_runtime_version_info(GString *str, void (*additional_info)(GString *))
g_string_append(str, ", without locale");
#endif
- /* Libpcap */
- g_string_append(str, ", ");
- get_runtime_pcap_version(str);
-
- /* zlib */
-#if defined(HAVE_LIBZ) && !defined(_WIN32)
- g_string_append_printf(str, ", with libz %s", zlibVersion());
-#endif
-
/* Additional application-dependent information */
if (additional_info)
(*additional_info)(str);