Skip to content

Commit 2ed881c

Browse files
authored
Fix save test data (librenms#18439)
sometimes save test data tries to use tcp instead of udp, force udp.
1 parent db7e322 commit 2ed881c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LibreNMS/Util/ModuleTestHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ public function generateTestData(string $snmpSimIp, int $snmpSimPort, bool $noSa
576576
$new_device = new Device([
577577
'hostname' => $snmpSimIp,
578578
'snmpver' => 'v2c',
579+
'transport' => 'udp',
579580
'community' => $this->file_name,
580581
'port' => $snmpSimPort,
581582
'disabled' => 1, // disable to block normal pollers

0 commit comments

Comments
 (0)