SNMP: rowstatus for go and wait

Remaining: destroy and internal state
This commit is contained in:
Olof hagsand 2022-07-09 16:35:21 +02:00
parent d79d0aa933
commit 714e41c627
5 changed files with 274 additions and 45 deletions

View file

@ -261,7 +261,7 @@ oid_print(FILE *f,
/*! Variant of yang_type_get that follows leafrefs
*/
static int
int
snmp_yang_type_get(yang_stmt *ys,
yang_stmt **yrefp,
char **origtypep,
@ -1000,10 +1000,9 @@ snmp_oid2str(oid **oidi,
cprintf(enc, "%c", (char)((*oidi)[i]&0xff));
}
break;
case CLIXON_ASN_FIXED_STRING: // XXX
for (; i<7; i++){
case CLIXON_ASN_FIXED_STRING:
for (; i < *oidilen; i++)
cprintf(enc, "%c", (char)((*oidi)[i]&0xff));
}
break;
default:
break;