thanks magnus, but i did set my xxxNetInterfaceName_len,
char* strName = "Ethernet";
size_t len = strlen("Ethernet");
entry = xxxNetInterfaceTable_createEntry(0);
memcpy(entry->xxxNetInterfaceName, strName, len);
entry->xxxNetInterfaceStatus = 0;
please ignore the second part(i mean for RTC interface), i just found some
handwriting problem in this mail. it should be "
memcpy(entry->xxxNetInterfaceName,strName, len);" instead
of "memcpy(entry->xxxNetInterfaceName,, strlen("RTC Interface")+1);".
besides that is there any other possibility?
On Mon, Jun 21, 2010 at 7:18 PM, Magnus Fromreide <ma...@lysator.liu.se>wrote:
> You never set xxxNetInterfaceName_len.
>
> /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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders