MITRECND / bro-http2

Plugin for Zeek/Bro which provides http2 decoder/analyzer
Other
30 stars 21 forks source link

Add guarded zeek-version.h include #23

Closed awelzel closed 1 year ago

awelzel commented 1 year ago

ZEEK_VERSION_NUMBER may not be defined when this plugin is included as a builtin plugin, explicitly include zeek/zeek-version.h when available.

A bit of background is here: https://github.com/zeek/zeek/issues/2806

When using bro-http2 as a builtin plugin (--include-plugins) currently ZEEK_VERSION_NUMBER is not defined. This should change before Zeek 6.0, but it's also better practice to directly include the required header.