I failed on the snmp set with wrongValue:

string subnet_prefix = "fe80000000000000"; -> should be all hex
snmp_add_var(pdu, smNetPartitionConfigSubnetPrefix_oid,
sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), 's', subnet_prefix.data());


How can I tell snmp_add_var this is a hex value?




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to