using ThreadObject, waiting for 1 sec

This commit is contained in:
2022-02-03 10:59:52 +01:00
parent cace18e535
commit 7af5d991d9
9 changed files with 103 additions and 149 deletions

View File

@ -344,9 +344,9 @@ void Implementation::setArping(const bool i,
threadArping->StopRunning();
} else {
threadArping->ClearIpsAndInterfaces();
threadArping->AddIpsAndInterfaces(eth[0], ips[0]);
threadArping->AddInterfacesAndIps(eth[0], ips[0]);
if (numUDPInterfaces == 2 && detType != EIGER) {
threadArping->AddIpsAndInterfaces(eth[1], ips[1]);
threadArping->AddInterfacesAndIps(eth[1], ips[1]);
}
threadArping->StartRunning();
}