From b7e7796e20d5b194a72658a0e3f88522e7f66ebc Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Wed, 9 Nov 2016 13:56:12 +0100 Subject: extcap: add new option type (timestamp). Bug: 12787 Change-Id: I941833c55fb607c8af2ef832082af58d7b94e965 Reviewed-on: https://code.wireshark.org/review/18721 Petri-Dish: Roland Knall Reviewed-by: Roland Knall Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- extcap_parser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extcap_parser.c') diff --git a/extcap_parser.c b/extcap_parser.c index dbdb4f162f..889dbbe309 100644 --- a/extcap_parser.c +++ b/extcap_parser.c @@ -408,6 +408,8 @@ static extcap_arg *extcap_parse_arg_sentence(GList *args, extcap_token_sentence target_arg->arg_type = EXTCAP_ARG_FILESELECT; } else if (g_ascii_strcasecmp(param_value, "multicheck") == 0) { target_arg->arg_type = EXTCAP_ARG_MULTICHECK; + } else if (g_ascii_strcasecmp(param_value, "timestamp") == 0) { + target_arg->arg_type = EXTCAP_ARG_TIMESTAMP; } else { printf("invalid type %s in ARG sentence\n", param_value); extcap_free_arg(target_arg); -- cgit v1.2.1