Re: enum registration
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Wed, 31 Dec 2008 20:26:52 +0200, "Nikos Balkanas" <[email protected]> said: NB> net-snmp automatically does type checking according to the NB> MIB. I.e. it will reject strings if the mib says integer. The manager code in net-snmp automatically dose type checking (unless you turn it off). The agent code, however, doesn't. Although some mib2c templates do auto-produce code that does the type checking. The default register_int utility you were using does *not* check incoming values for legal range. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users