mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Refactors {flow,host}callbacks into {flow,host}checks (C++)
This commit is contained in:
parent
cf50f4e0e7
commit
40f5c4e821
216 changed files with 895 additions and 898 deletions
|
|
@ -30,7 +30,7 @@ class FlowRiskURLPossibleSQLInjectionAlert : public FlowRiskAlert {
|
|||
static FlowAlertType getClassType() { return { flow_alert_ndpi_url_possible_sql_injection, alert_category_security }; }
|
||||
static u_int8_t getDefaultScore() { return Utils::getFlowRiskScore(getClassRisk()); }
|
||||
|
||||
FlowRiskURLPossibleSQLInjectionAlert(FlowCallback *c, Flow *f) : FlowRiskAlert(c, f) { };
|
||||
FlowRiskURLPossibleSQLInjectionAlert(FlowCheck *c, Flow *f) : FlowRiskAlert(c, f) { };
|
||||
~FlowRiskURLPossibleSQLInjectionAlert() { };
|
||||
|
||||
FlowAlertType getAlertType() const { return getClassType(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue