Re: SNMPSET illusion?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/7/23 Raghavendra Prasad <[email protected]>: > I use the following code still the problem persists, any help?? > > case MODE_SET_RESERVE1: > ret = netsnmp_check_vb_type_and_size(...) You are still only checking the type of the assigned value. As Richard said earlier, you need to check the *range* of this value as well. Try ret = netsnmp_check_vb_int_range( requests->requestvb, 1, 2); Dave ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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