diff options
author | David Perry <boolean263@protonmail.com> | 2022-02-24 13:27:08 +0000 |
---|---|---|
committer | A Wireshark GitLab Utility <6629907-ws-gitlab-utility@users.noreply.gitlab.com> | 2022-02-24 13:27:08 +0000 |
commit | e2fab18853df2f840ad94a83228e8b020dd29496 (patch) | |
tree | 31984e11565a3dc5a4b20992406e6c417c705fb1 /tfshark.c | |
parent | 80cb8fbb1249c4230a266ea73229f4dabca9203d (diff) |
wsutil: New API to gather compile/runtime info
Diffstat (limited to 'tfshark.c')
-rw-r--r-- | tfshark.c | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -264,13 +264,6 @@ print_current_user(void) } } -static void -get_tfshark_runtime_version_info(GString *str) -{ - /* stuff used by libwireshark */ - epan_get_runtime_version_info(str); -} - int main(int argc, char *argv[]) { @@ -377,10 +370,9 @@ main(int argc, char *argv[]) initialize_funnel_ops(); /* Initialize the version information. */ - ws_init_version_info("TFShark (Wireshark)", NULL, - epan_get_compiled_version_info, - get_tfshark_runtime_version_info); - + ws_init_version_info("TFShark", + epan_gather_compile_info, + epan_gather_runtime_info); /* * In order to have the -X opts assigned before the wslua machine starts * we need to call getopts before epan_init() gets called. |