mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix bad snmp context option (#13497)
* Fix bad snmp context option Just port queries to SnmpQuery and remove bad code to prevent new usages * Allow unordered * add stub on Mock
This commit is contained in:
@@ -58,6 +58,12 @@ interface SnmpQueryInterface
|
||||
*/
|
||||
public function mibDir(?string $dir): SnmpQueryInterface;
|
||||
|
||||
/**
|
||||
* Do not error on out of order indexes.
|
||||
* Use with caution as we could get stuck in an infinite loop.
|
||||
*/
|
||||
public function allowUnordered(): SnmpQueryInterface;
|
||||
|
||||
/**
|
||||
* Output all OIDs numerically
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user