mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +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
|
|
@ -31,16 +31,18 @@ class CustomFlowLuaScriptAlert : public FlowAlert {
|
|||
ndpi_serializer* getAlertJSON(ndpi_serializer* serializer);
|
||||
|
||||
public:
|
||||
static FlowAlertType getClassType() { return { flow_alert_custom_lua_script, alert_category_security}; }
|
||||
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
|
||||
static FlowAlertType getClassType() {
|
||||
return {flow_alert_custom_lua_script, alert_category_security};
|
||||
}
|
||||
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
|
||||
|
||||
CustomFlowLuaScriptAlert(FlowCheck *c, Flow *f) : FlowAlert(c, f) { };
|
||||
~CustomFlowLuaScriptAlert() { };
|
||||
CustomFlowLuaScriptAlert(FlowCheck* c, Flow* f) : FlowAlert(c, f){};
|
||||
~CustomFlowLuaScriptAlert(){};
|
||||
|
||||
FlowAlertType getAlertType() const { return getClassType(); };
|
||||
void setAlertMessage(std::string m) { msg = m; };
|
||||
void setAlertScore(u_int8_t v) { score = v; };
|
||||
virtual u_int8_t getAlertScore()const { return(score); };
|
||||
FlowAlertType getAlertType() const { return getClassType(); };
|
||||
void setAlertMessage(std::string m) { msg = m; };
|
||||
void setAlertScore(u_int8_t v) { score = v; };
|
||||
virtual u_int8_t getAlertScore() const { return (score); };
|
||||
};
|
||||
|
||||
#endif /* _CUSTOM_FLOW_LUA_SCRIPT_ALERT_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue