Implemented --original-speed for reproducing pcaps at original pace

This commit is contained in:
Luca Deri 2019-07-15 17:29:07 +02:00
parent 0d7195d6e3
commit d04d5da466
6 changed files with 56 additions and 7 deletions

View file

@ -750,6 +750,7 @@ class NetworkInterface : public AlertableEntity {
inline void decNumAlertsEngaged(ScriptPeriodicity p) { num_alerts_engaged[(u_int)p]--; }
inline bool hasAlerts() { return(has_alerts); }
inline void refreshHasAlerts() { has_alerts = alertsManager ? alertsManager->hasAlerts() : false; }
virtual bool reproducePcapOriginalSpeed() { return(false); }
u_int32_t getNumEngagedAlerts();
};