On Wed, 2010-06-09 at 18:05 +0530, Prakash wrote: > Thanks M/F, > > I tried your suggested code but it won't compile... > > netsnmp_init_watcher_info6รข was not declared in this scope > > I am using net-snmp 5.4.2.1
Yes, netsnmp_init_watcher_info6 was new in 5.5. Unless upgrading is an option for you then you could do as Dave indicated and make sure that the buffer in your original code isn't on the stack but that will force all set values to have the same length as your default string. /MF ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
