Re: snmp_varlist_add_variable

2010-04-12 Thread Dave Shield
On 10 April 2010 15:09, maxim maxim wrote: > I can't understand why if i don't begin to add to my variable list > from ASN_OBJECT_ID it doesn't work There's not really enough detail in the code fragment you gave to be clear about exactly what you are trying to do. But if you are using 'snmp_v2tr

snmp_varlist_add_variable

2010-04-10 Thread maxim maxim
at_rate_oid_len = OID_LENGTH(hbeat_rate_oid); snmp_varlist_add_variable(¬ification_vars, hbeat_rate_oid, hbeat_rate_oid_len, ASN_INTEGER, (u_char *)&heartbeat_rate, si