diff options
author | Roland Knall <roland.knall@br-automation.com> | 2015-04-28 10:26:46 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-05-05 09:35:10 +0000 |
commit | 5727ebe6890bc263b90b3a77435b7aa7ae0ca411 (patch) | |
tree | 28e492c5118ad14481c0759859fc59829a78686e /extcap_parser.c | |
parent | cdaad860720a17d889e759d9e263c5fcadaf36a2 (diff) |
extcap: Implement QT extcap options
Implementing a button in the interface list, to bring up
the extcap options dialog, as well as a dialog, which will
be generated depending on the selected extcap options.
Change-Id: I1733dc6a8c1a121089a9c353aff10bc4a53e86de
Reviewed-on: https://code.wireshark.org/review/8224
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Reviewed-by: Roland Knall <rknall@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'extcap_parser.c')
-rw-r--r-- | extcap_parser.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extcap_parser.c b/extcap_parser.c index 0dd85ac937..dc74b2588f 100644 --- a/extcap_parser.c +++ b/extcap_parser.c @@ -60,7 +60,7 @@ gchar *extcap_get_complex_as_string(extcap_complex *comp) { break; case EXTCAP_ARG_BOOLEAN: g_snprintf(ret, 32, "%s", - comp->complex_value.bool_value ? "TRUE" : "FALSE"); + comp->complex_value.bool_value ? "true" : "false"); break; case EXTCAP_ARG_STRING: case EXTCAP_ARG_FILESELECT: @@ -604,8 +604,6 @@ extcap_arg *extcap_parse_arg_sentence(GList * args, extcap_token_sentence *s) { target_arg->arg_type = EXTCAP_ARG_BOOLEAN; } else if (g_ascii_strcasecmp(v->value, "boolflag") == 0) { target_arg->arg_type = EXTCAP_ARG_BOOLFLAG; - } else if (g_ascii_strcasecmp(v->value, "menu") == 0) { - target_arg->arg_type = EXTCAP_ARG_MENU; } else if (g_ascii_strcasecmp(v->value, "selector") == 0) { target_arg->arg_type = EXTCAP_ARG_SELECTOR; } else if (g_ascii_strcasecmp(v->value, "radio") == 0) { |