Automated commit of clang-format CI changes.

This commit is contained in:
lucaderi 2023-04-07 14:20:44 +00:00 committed by clang-format-bot
parent 2ecb162dfb
commit d395deac4e
604 changed files with 47610 additions and 38436 deletions

View file

@ -27,15 +27,19 @@
class FlowRiskHTTPSuspiciousURLAlert : public FlowRiskAlert {
public:
static ndpi_risk_enum getClassRisk() { return NDPI_HTTP_SUSPICIOUS_URL; }
static FlowAlertType getClassType() { return FlowRiskAlerts::getFlowRiskAlertType(getClassRisk()); }
static u_int8_t getDefaultScore() { return FlowRiskAlerts::getFlowRiskScore(getClassRisk()); }
static FlowAlertType getClassType() {
return FlowRiskAlerts::getFlowRiskAlertType(getClassRisk());
}
static u_int8_t getDefaultScore() {
return FlowRiskAlerts::getFlowRiskScore(getClassRisk());
}
FlowRiskHTTPSuspiciousURLAlert(FlowCheck *c, Flow *f) : FlowRiskAlert(c, f) { };
~FlowRiskHTTPSuspiciousURLAlert() { };
FlowRiskHTTPSuspiciousURLAlert(FlowCheck *c, Flow *f) : FlowRiskAlert(c, f){};
~FlowRiskHTTPSuspiciousURLAlert(){};
FlowAlertType getAlertType() const { return getClassType(); }
ndpi_risk_enum getAlertRisk() const { return getClassRisk(); }
u_int8_t getAlertScore() const { return getDefaultScore(); }
ndpi_risk_enum getAlertRisk() const { return getClassRisk(); }
u_int8_t getAlertScore() const { return getDefaultScore(); }
};
#endif /* _FR_HTTP_SUSPICIOUS_URL_ALERT_H_ */