summaryrefslogtreecommitdiff
path: root/extcap/sshdump.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-08-24 15:10:51 +0200
committerRoland Knall <rknall@gmail.com>2016-08-25 12:29:49 +0000
commitf597234785f8e4ddf1cf9f7c5d6f5fbacd9631bf (patch)
tree7bc2c9390e864ed598d7a86224dd4b0fef2a77bb /extcap/sshdump.c
parentc661da414d5ddb506e0c23d3169cff45b6211398 (diff)
downloadwireshark-f597234785f8e4ddf1cf9f7c5d6f5fbacd9631bf.tar.gz
extcap: add binary name and version to help message.
Change-Id: I8f8083c817065cf66fd006a1caeb309d26209509 Reviewed-on: https://code.wireshark.org/review/17305 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap/sshdump.c')
-rw-r--r--extcap/sshdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extcap/sshdump.c b/extcap/sshdump.c
index e3385c6b6d..dc4454a486 100644
--- a/extcap/sshdump.c
+++ b/extcap/sshdump.c
@@ -326,7 +326,8 @@ int main(int argc, char **argv)
attach_parent_console();
#endif /* _WIN32 */
- extcap_base_set_util_info(extcap_conf, SSHDUMP_VERSION_MAJOR, SSHDUMP_VERSION_MINOR, SSHDUMP_VERSION_RELEASE, NULL);
+ extcap_base_set_util_info(extcap_conf, argv[0], SSHDUMP_VERSION_MAJOR, SSHDUMP_VERSION_MINOR,
+ SSHDUMP_VERSION_RELEASE, NULL);
extcap_base_register_interface(extcap_conf, SSH_EXTCAP_INTERFACE, "SSH remote capture", 147, "Remote capture dependent DLT");
help_header = g_strdup_printf(