SNMP frontend: Generalized type handling for set functions

SPlit scalar_handler into get and set subfunctions
This commit is contained in:
Olof hagsand 2022-05-20 15:02:58 +02:00
parent ef604be610
commit 46cb21f3e8
8 changed files with 285 additions and 398 deletions

View file

@ -448,8 +448,8 @@ main(int argc,
/* Init snmp as subagent */
if (clixon_snmp_subagent(h, logdst) < 0)
goto done;
/* Init mib-translated yangs and register callbacks */
if (clixon_snmp_mib_yangs(h) < 0)
/* Init and traverse mib-translated yangs and register callbacks */
if (clixon_snmp_traverse_mibyangs(h) < 0)
goto done;
if (dbg)