On 21 July 2010 16:08, Thazhai Arasan <[email protected]> wrote: > here i have attached the function for write_method pointer. you can see > "SNMPconfSetSectionKey" function in COMMIT action.
What format does "SNMPconfSetSectionKey" expect the IP address to be in? Remember that the value provided via SNMP is a binary string (of four octets). It is *NOT* a printable string in the form "192.168.1.4". Rather it would be something like: char ptr1[4]; ptr1[0] = 192; ptr1[1] = 168; ptr1[2] = 1; ptr1[3] = 4; Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ 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
