Fix smokeping generator for TCP transport

This commit is contained in:
Daniel Preussker
2024-09-23 16:34:15 +02:00
committed by GitHub
parent 0e8c4c4947
commit 11a2c179bc
@@ -374,7 +374,7 @@ class SmokepingGenerateCommand extends LnmsCommand
*/
private function balanceProbes($transport, $probeCount)
{
if ($transport === 'udp') {
if ($transport === 'udp' || $transport === 'tcp') {
if ($probeCount === $this->ip4count) {
$this->ip4count = 0;
}