mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Allow line returns in snmprec files with the 4x data type (#6443)
* fix: Allow line returns in snmprec files with the 4x data type Fill in IOS data files IOS-XE discovery fails, fix that * Restore IOS-XE, unsure if it can be removed
This commit is contained in:
committed by
Neil Lathwood
parent
c88c677a16
commit
963f444f17
@@ -524,6 +524,7 @@ List of SNMP data types:
|
||||
| Type | Value |
|
||||
| ----------------- | ------------- |
|
||||
| OCTET STRING | 4 |
|
||||
| HEX STRING | 4x |
|
||||
| Integer32 | 2 |
|
||||
| NULL | 5 |
|
||||
| OBJECT IDENTIFIER | 6 |
|
||||
@@ -534,5 +535,7 @@ List of SNMP data types:
|
||||
| Opaque | 68 |
|
||||
| Counter64 | 70 |
|
||||
|
||||
Hex encoded strings (4x) should be used for any strings that contain line returns
|
||||
|
||||
You can run `./scripts/pre-commit.php -u` to run the unit tests to check your code.
|
||||
If you would like to run tests locally against a full snmpsim instance, run `./scripts/pre-commit.php -u --snmpsim`.
|
||||
|
||||
Reference in New Issue
Block a user