From 5727ebe6890bc263b90b3a77435b7aa7ae0ca411 Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Tue, 28 Apr 2015 10:26:46 +0200 Subject: 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 Reviewed-by: Roland Knall Reviewed-by: Pascal Quantin --- extcap_parser.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'extcap_parser.c') 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) { -- cgit v1.2.1