This is a discussion on snmp_add_var within the SNMP Coders forums, part of the Networking and Network Related category; I failed on the snmp set with wrongValue: string subnet_prefix = "fe80000000000000"; -> should be all hex snmp_add_var(pdu, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |