diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-08-24 10:43:11 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-08-24 12:25:56 +0000 |
commit | f269f56c1ab485a9f3462554eb088f6895e3ccf6 (patch) | |
tree | d74517fa87d4c2655188fc3037d87835e336250e /extcap/randpktdump.c | |
parent | 2095b325998f1da06a4e80efeb186ec99d6e39ed (diff) |
extcap: make extcaps use the version registered in config.
Change-Id: I12d0d0bec06e02af0a9d0877c0f0f1d86261d752
Reviewed-on: https://code.wireshark.org/review/17296
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap/randpktdump.c')
-rw-r--r-- | extcap/randpktdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c index a64474d9ff..420caa45d6 100644 --- a/extcap/randpktdump.c +++ b/extcap/randpktdump.c @@ -180,7 +180,7 @@ int main(int argc, char *argv[]) while ((result = getopt_long(argc, argv, ":", longopts, &option_idx)) != -1) { switch (result) { case OPT_VERSION: - printf("%s.%s.%s\n", RANDPKTDUMP_VERSION_MAJOR, RANDPKTDUMP_VERSION_MINOR, RANDPKTDUMP_VERSION_RELEASE); + printf("%s\n", extcap_conf->version); ret = EXIT_SUCCESS; goto end; |