diff --git a/apps/snmp/snmp_lib.c b/apps/snmp/snmp_lib.c index f4fda344..22756e10 100644 --- a/apps/snmp/snmp_lib.c +++ b/apps/snmp/snmp_lib.c @@ -242,7 +242,8 @@ type_yang2asn1(yang_stmt *ys, if (strcmp(origtype, "counter32")==0){ at = ASN_COUNTER; } - else if (strcmp(origtype, "object-identifier-128")==0){ + else if (strcmp(origtype, "object-identifier-128") == 0 || + strcmp(origtype, "AutonomousType") == 0){ at = ASN_OBJECT_ID; } else if (strcmp(origtype, "binary")==0){