OK, thank u so much Dave.
I will try.



________________________________
From: Dave Shield <d.t.shi...@liverpool.ac.uk>
To: geri noorzaman <noorzaman...@yahoo.com>
Cc: net-snmp-users@lists.sourceforge.net
Sent: Monday, June 8, 2009 2:28:10 PM
Subject: Re: Having problem with stirng index table

2009/6/8 geri noorzaman <noorzaman...@yahoo.com>:
> So right now, how to implement the data type like the octet string like
> this? for example for mac address 'AA:BB:CC:DD:EE:FF'.

Try

    char address[6];
    address[0] = '0xaa';
    address[1] = '0xbb';
    address[2] = '0xcc';
    address[3] = '0xdd';
    address[4] = '0xee';
    address[5] = '0xff';

Dave



      
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to