mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Add ability to reset a status bit
This commit is contained in:
parent
33b485e472
commit
e0fd591db2
5 changed files with 31 additions and 4 deletions
|
|
@ -255,7 +255,8 @@ class Flow : public GenericHashEntry {
|
|||
~Flow();
|
||||
|
||||
inline Bitmap getStatusBitmap() { return(status_map); }
|
||||
inline void addStatus(FlowStatus status) { status_map.setBit(status); }
|
||||
inline void setStatus(FlowStatus status) { status_map.setBit(status); }
|
||||
inline void clearStatus(FlowStatus status) { status_map.clearBit(status); }
|
||||
FlowStatus getFlowStatus(Bitmap *status_map) const;
|
||||
void triggerAlert(AlertType atype, AlertLevel severity, const char*alert_json);
|
||||
inline void setAlertedStatus(FlowStatus status) { alerted_status = status; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue