aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-01-04 13:39:03 +0100
committerPeter Wu <peter@lekensteyn.nl>2019-01-04 15:29:54 +0000
commitaba0e8eec0363adc6fac1193666b42b2c49e7bab (patch)
tree7c400c8d61df56f3068edf31012f29c410d42163
parenta4dad7cb6dab626887c252ac74a21b8a942ec2d0 (diff)
extcap: fix --extcap-version argument to include the version
Change-Id: I727864ae0a210fea2dc90624102b793f5a98e395 Fixes: v2.9.0rc0-2648-g9ae02a5918 ("extcap: run --extcap-config in parallel to reduce startup time") Reviewed-on: https://code.wireshark.org/review/31367 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
-rw-r--r--extcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap.c b/extcap.c
index 9bf7067018..cdd8e0f70e 100644
--- a/extcap.c
+++ b/extcap.c
@@ -1984,7 +1984,7 @@ extcap_load_interface_list(void)
char *arg_version = g_strdup_printf("%s=%d.%d", EXTCAP_ARGUMENT_VERSION, major, minor);
const char *argv[] = {
EXTCAP_ARGUMENT_LIST_INTERFACES,
- EXTCAP_ARGUMENT_VERSION,
+ arg_version,
NULL
};
infos = (extcap_run_extcaps_info_t *)extcap_run_all(argv,