mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-19 07:43:01 +00:00
Fix for continuous ping startup
This commit is contained in:
parent
e7eaf6ae36
commit
cc5918fa6f
4 changed files with 19 additions and 5 deletions
|
|
@ -182,6 +182,11 @@ void ContinuousPing::collectResponses(lua_State* vm) {
|
|||
/* ***************************************** */
|
||||
|
||||
void ContinuousPing::runPingCampaign() {
|
||||
if(!ntop->isStarted()) {
|
||||
sleep(1);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
Ping *pinger = new Ping();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue