mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Flow alerts code cleanup
This commit is contained in:
parent
538e10770f
commit
08a8a7e6a6
46 changed files with 203 additions and 252 deletions
|
|
@ -36,6 +36,8 @@ class ModbusUnexpectedFunctionCodeAlert : public FlowAlert {
|
|||
}
|
||||
static u_int8_t getDefaultScore() { return SCORE_LEVEL_ERROR; };
|
||||
|
||||
inline u_int8_t get_function_code() { return function_code; };
|
||||
|
||||
ModbusUnexpectedFunctionCodeAlert(FlowCheck* c, Flow* f, u_int8_t _function_code) : FlowAlert(c, f) {
|
||||
function_code = _function_code;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue