Add deprecated headers for UDP and ICMP analyzers

This commit is contained in:
Tim Wojtulewicz 2021-06-02 14:43:19 -07:00
parent 079ac1654f
commit cdc62efa73
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,10 @@
#warning "Remove in v5.1. This analyzer has been moved to packet analysis, use 'zeek/packet_analysis/protocol/udp/UDPSessionAdapter.h'."
#include "zeek/packet_analysis/protocol/udp/UDPSessionAdapter.h"
namespace zeek::analyzer::udp {
using UDP_Analyzer [[deprecated("Remove in v5.1. Use zeek::packet_analysis::UDP::UDPSessionAdapter.")]] =
zeek::packet_analysis::UDP::UDPSessionAdapter;
} // namespace zeek::analyzer::udp