Add SNMP bits type

This commit is contained in:
Olof hagsand 2024-02-29 14:20:03 +01:00
parent 322e00cfe2
commit 22c09b79f7

View file

@ -117,6 +117,7 @@ static const map_str2int snmp_type_map[] = {
*/ */
static const map_str2int snmp_orig_map[] = { static const map_str2int snmp_orig_map[] = {
{"counter32", ASN_COUNTER}, // 0x41 / 65 {"counter32", ASN_COUNTER}, // 0x41 / 65
{"bits", ASN_OCTET_STR}, // 3
{"object-identifier-128", ASN_OBJECT_ID}, // 6 {"object-identifier-128", ASN_OBJECT_ID}, // 6
{"AutonomousType", ASN_OBJECT_ID}, // 6 {"AutonomousType", ASN_OBJECT_ID}, // 6
{"DateAndTime", ASN_OCTET_STR}, // 4 {"DateAndTime", ASN_OCTET_STR}, // 4