Refactors {flow,host}callbacks into {flow,host}checks (C++)

This commit is contained in:
Simone Mainardi 2021-06-16 15:27:38 +02:00
parent cf50f4e0e7
commit 40f5c4e821
216 changed files with 895 additions and 898 deletions

View file

@ -32,7 +32,7 @@ class RemoteToLocalInsecureProtoAlert : public FlowAlert {
static FlowAlertType getClassType() { return { flow_alert_remote_to_local_insecure_proto, alert_category_security }; }
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
RemoteToLocalInsecureProtoAlert(FlowCallback *c, Flow *f) : FlowAlert(c, f) {};
RemoteToLocalInsecureProtoAlert(FlowCheck *c, Flow *f) : FlowAlert(c, f) {};
~RemoteToLocalInsecureProtoAlert() {};
FlowAlertType getAlertType() const { return getClassType(); }