SyslogParserInterface now supports the companion interface for delivering Suricata alerts to a packet interface (#1928)

This commit is contained in:
Alfredo Cardigliano 2019-08-27 17:53:34 +02:00
parent 0adf91f162
commit f8af84df2d
9 changed files with 50 additions and 26 deletions

View file

@ -37,6 +37,7 @@ class ParserInterface : public NetworkInterface {
~ParserInterface();
void deliverFlowToCompanions(ParsedFlow * const flow);
inline bool companionsEnabled() { return num_companion_interfaces > 0; };
};
#endif /* _PARSER_INTERFACE_H_ */