mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
af_packet: Avoid Zeek script double-loading problems
The plugin mechanism automatically picks up the scripts folder for plugin-related Zeek scripts. When a package's zkg.meta also declares the scripts folder the location for package-level scripts, the scripts get installed redundantly in two places. Zeek cannot recognize them as duplicates, triggering various errors relating to double-defined symbols. This moves the package-level scripts to a subdirectory with a placeholder. The placeholder avoids the zkg install-time warning, whose original fix in e3aea1 introduced this problem.
This commit is contained in:
parent
74f9d11776
commit
96384be689
1 changed files with 1 additions and 0 deletions
1
src/iosource/af_packet/scripts/af_packet/__load__.zeek
Normal file
1
src/iosource/af_packet/scripts/af_packet/__load__.zeek
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# This package currently doesn't have any generic script functionality.
|
Loading…
Add table
Add a link
Reference in a new issue