SNMP: fix SNMP set access of table entries
[Conversion of ethernet address (PhysAddress) and IP address (IPAddress) crashes agent](https://github.com/clicon/clixon/issues/340) Hwaddress and IP adress for scalar and table set should now work
This commit is contained in:
parent
a61567a916
commit
99b766ee50
8 changed files with 334 additions and 97 deletions
|
|
@ -459,11 +459,6 @@ mibyang_traverse(clicon_handle h,
|
|||
/* Register table entry handler itself (not column/row leafs) */
|
||||
if (mibyang_table_register(h, yn) < 0)
|
||||
goto done;
|
||||
#ifndef SNMP_TABLE_DYNAMIC
|
||||
/* Register table sub-oid:s of existing entries in clixon */
|
||||
if (mibyang_table_poll(h, yn) < 0)
|
||||
goto done;
|
||||
#endif
|
||||
goto ok;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue