aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-10-25 20:11:01 +0100
committerJoão Valverde <j@v6e.pt>2023-10-25 23:12:21 +0000
commit7fbed5b3069ce3dd8351cc92a4b20310fde5f54b (patch)
tree74e32f0d72116df45645535241ed393f17c3be91 /extcap.c
parent061eea1c3702bd7e1e56b9be86c33a77b2d9ab8a (diff)
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.
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c2
1 files changed, 1 insertions, 1 deletions
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();