From f9c34f29c7fc36cd85341a263a8828e93d8cc03d Mon Sep 17 00:00:00 2001 From: bhaskarbhar <126053496+bhaskarbhar@users.noreply.github.com> Date: Wed, 25 Jun 2025 22:53:29 +0530 Subject: [PATCH] Update zeek.bif --- src/zeek.bif | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zeek.bif b/src/zeek.bif index c4cf56588c..6e60ed9904 100644 --- a/src/zeek.bif +++ b/src/zeek.bif @@ -5653,7 +5653,7 @@ function find_in_zeekpath%(p: string%): string ## ## Returns: A vector of records containing the tags of all plugin components ## that belong to the specified category. -function get_plugin_components%(category: string%): PluginComponent_vec +function get_plugin_components%(category: string%): plugin_component_vec %{ std::string cat = category->CheckString(); auto type = CategoryStringToEnum(cat); @@ -5664,12 +5664,12 @@ function get_plugin_components%(category: string%): PluginComponent_vec return nullptr; } - static auto vec_type = zeek::id::find_type("PluginComponent_vec"); + static auto vec_type = zeek::id::find_type("plugin_component_vec"); static auto rec_type = zeek::id::find_type("PluginComponent"); if ( ! vec_type || ! rec_type ) { - reporter->Error("Required types not found (PluginComponent or PluginComponent_vec)"); + reporter->Error("Required types not found (PluginComponent or plugin_component_vec)"); return nullptr; }