mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix smokeping generator for TCP transport (#16421)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user