Now that smi.c is basically an oid/name translator, let smi_insert()
authormartijn <martijn@openbsd.org>
Sun, 12 Nov 2023 20:04:35 +0000 (20:04 +0000)
committermartijn <martijn@openbsd.org>
Sun, 12 Nov 2023 20:04:35 +0000 (20:04 +0000)
commitd791c660a130b47cbcbf250303deadc538709835
tree7d72528811ea5edcfc0f896946cbd8af497b2820
parent8bac310bceefb47e5096e4585fe40be89748ac93
Now that smi.c is basically an oid/name translator, let smi_insert()
create the struct oid and let parse.y supply the arguments.

OK tb@
usr.sbin/snmpd/parse.y
usr.sbin/snmpd/smi.c
usr.sbin/snmpd/snmpd.h