On Mon, Jun 21, 2010 at 09:50:54PM +0200, Yi ZHOU wrote:
> thanks magnus, but i did set my xxxNetInterfaceName_len,
Where?
I do not see any location where entry->xxxNetInterfaceName_len get set
in neither your original code nor in the code fragment you have pasted
in below.
> 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)
Sure, that is not relevant for your question.
/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