Skip to content

Commit

Permalink
Fix smokeping generator for TCP transport (librenms#16421)
Browse files Browse the repository at this point in the history
  • Loading branch information
f0o authored Sep 24, 2024
1 parent db65bb8 commit c250ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/SmokepingGenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ private function buildMenuEntry($entry)
*/
private function balanceProbes($transport, $probeCount)
{
if ($transport === 'udp') {
if ($transport === 'udp' || $transport === 'tcp') {
if ($probeCount === $this->ip4count) {
$this->ip4count = 0;
}
Expand Down

0 comments on commit c250ffa

Please sign in to comment.