mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Flow alerts code cleanup
This commit is contained in:
parent
538e10770f
commit
08a8a7e6a6
46 changed files with 203 additions and 252 deletions
|
|
@ -38,6 +38,10 @@ class ModbusInvalidTransitionAlert : public FlowAlert {
|
|||
}
|
||||
static u_int8_t getDefaultScore() { return SCORE_LEVEL_NOTICE; };
|
||||
|
||||
inline u_int32_t get_packet_epoch() { return packet_epoch; };
|
||||
inline u_int16_t get_type_i() { return type_i; };
|
||||
inline u_int8_t get_type_id() { return type_id; };
|
||||
|
||||
ModbusInvalidTransitionAlert(FlowCheck *c, Flow *f, struct timeval *_time,
|
||||
u_int16_t _type_i, u_int8_t _type_id) : FlowAlert(c, f) {
|
||||
type_i = _type_i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue