mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Automated commit of clang-format CI changes.
This commit is contained in:
parent
2ecb162dfb
commit
d395deac4e
604 changed files with 47610 additions and 38436 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue