From 7fbed5b3069ce3dd8351cc92a4b20310fde5f54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 25 Oct 2023 20:11:01 +0100 Subject: plugins: Allow multiple types in description Allow plugins to declare their type, for the purpose of inserting a description in the UI. The type consist of one or more bit ORed flags. This fixes the 'stats_tree' plugin description in the UI. The plugin is not a dissector type plugin, as was being displayed before. Now it correctly shows "tap listener" plugin. --- extcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extcap.c') diff --git a/extcap.c b/extcap.c index 63612a2f65..c6d8e9eb07 100644 --- a/extcap.c +++ b/extcap.c @@ -188,7 +188,7 @@ compare_tools(gconstpointer a, gconstpointer b) } void -extcap_get_descriptions(plugin_description_callback callback, void *callback_data) +extcap_get_descriptions(extcap_plugin_description_callback callback, void *callback_data) { extcap_ensure_all_interfaces_loaded(); -- cgit v1.2.3