> Is there a similar configuration (mib2c.check_values.conf)
> file for scalars to verifying type and length ... in the
> case of sets ?

Not to the same extent, no.
If you use 'mib2c -c mib2c.scalar.conf ....' then that framework
includes skeleton code indicating where to check the new assigned
value, but doesn't actually include the necessary code.

You could try replacing the RESERVE1 block with a call to
'netsnmp_check_vb_type' or 'netsnmp_check_vb_type_and_size' or
one of that family (see 'snmplib/check_varbind.c')

Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to