We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90c07c commit fae0f24Copy full SHA for fae0f24
LibreNMS/Data/Source/NetSnmpQuery.php
@@ -45,7 +45,7 @@ class NetSnmpQuery implements SnmpQueryInterface
45
{
46
private const DEFAULT_FLAGS = '-OQXUte';
47
48
- /** @var string[] $commandCleanupPatterns */
+ /** @var string[] */
49
private array $commandCleanupPatterns = [
50
'/-c\' \'[\S]+\'/',
51
'/-u\' \'[\S]+\'/',
@@ -57,7 +57,7 @@ class NetSnmpQuery implements SnmpQueryInterface
57
'/(udp|udp6|tcp|tcp6):([^:]+):([\d]+)/',
58
];
59
60
- /** @var string[] $commandCleanupReplacements */
61
private array $commandReplacementPatterns = [
62
'-c\' \'COMMUNITY\'',
63
'-u\' \'USER\'',
0 commit comments