Re: Regarding MacAddress usage in net-snmp

2009-05-05 Thread Sasikumar
: Re: Regarding MacAddress usage in net-snmp 2009/4/29 Sasikumar : > Please let me know anything is workng with this implementation. Well, something is obviously wrong, since you're getting the wrong answer. But you haven't bothered to show us the full code that you are using, so it

Re: Regarding MacAddress usage in net-snmp

2009-04-29 Thread Dave Shield
2009/4/29 Sasikumar : > Please let me know anything is workng with this implementation. Well, something is obviously wrong, since you're getting the wrong answer. But you haven't bothered to show us the full code that you are using, so it's impossible for us to tell *what* might be wrong. Dave -

Re: Regarding MacAddress usage in net-snmp

2009-04-29 Thread Wes Hardaker
> On Wed, 29 Apr 2009 20:14:10 +0530 (IST), Sasikumar > said: S> MAC_ADDR-MIB::MacAddress.11.1 = STRING: 11:22:33:44 Did you set the output length properly after filling the data? -- Wes Hardaker Please mail all replies to [email protected]

Regarding MacAddress usage in net-snmp

2009-04-29 Thread Sasikumar
Hi, I have implemented a MIB with one attribute whose data type is MacAddress in the *.c files are generated using mib2c and data type is mentioned as ASN_OCTET_STR hence I am filling the unsigned char ucMacAddr[6] with hex values but when i do snmp get I am getting the following value as the