2009/1/5 jayesh km <[email protected]>: > I need to handle a MIB variable which is IPv6 address. Can someone please > tell me how handle it in my code? What ASN type (like ASN_IPADDRESS) should > i use and also what should be the datatype for the variable? (is it a > character array?)
Have a look at the code in 'agent/mibgroup/mibII/ipv6.c' for examples of how this should be handled. In particular, look at the end of the routine 'var_udp6' (which is probably one of the simpler examples). Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
