diff options
author | Roland Knall <roland.knall@br-automation.com> | 2016-01-14 14:01:40 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-01-14 18:46:56 +0000 |
commit | 5d4a71a1a22aedc0a3ab9e81a627cf37e7d58e7f (patch) | |
tree | 4678b26093ff0298c48797477dcbc136e2b89d3e /extcap | |
parent | baf3321942459b54863736bdbe61a9335d550601 (diff) |
ssh/randpktdump: Add version to extcap utility
Add a version to each utility, displayed in the about dialog of Wireshark
Change-Id: I64936072b13116b3e173c50411e9fff45d5fbf4c
Reviewed-on: https://code.wireshark.org/review/13290
Reviewed-by: Roland Knall <rknall@gmail.com>
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/randpktdump.c | 1 | ||||
-rw-r--r-- | extcap/sshdump.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c index 689db6ac01..a46430be0b 100644 --- a/extcap/randpktdump.c +++ b/extcap/randpktdump.c @@ -201,6 +201,7 @@ static void help(const char* binname) static int list_interfaces(void) { + printf("extcap {version=%u.%u.%u}\n", RANDPKTDUMP_VERSION_MAJOR, RANDPKTDUMP_VERSION_MINOR, RANDPKTDUMP_VERSION_RELEASE); printf("interface {value=%s}{display=Random packet generator}\n", RANDPKT_EXTCAP_INTERFACE); return EXIT_SUCCESS; } diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 03c74a0772..88e3bea0c3 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -435,6 +435,7 @@ static void help(const char* binname) static int list_interfaces(void) { + printf("extcap {version=%u.%u.%u}\n", SSHDUMP_VERSION_MAJOR, SSHDUMP_VERSION_MINOR, SSHDUMP_VERSION_RELEASE); printf("interface {value=%s}{display=SSH remote capture}\n", SSH_EXTCAP_INTERFACE); return EXIT_SUCCESS; } |