Hi!
Need help, I cannot find any information.... ;-(
Using pass_persist and having trouble when my pass process is answering a get
request.
requested variable: fassTransponderDegradedStatus BITS (0-20)
The problem arises for example when i want to return just bit 20 set.
(0x000008) - byte[0] = 0x00, byte[1] = 0x00, byte[2] = 0x08
(no problem when bits are set also in the two first bytes...)
"
OID_Print(pOutputOID);
printf("string\n");
printf("%.3s\n", &byte[0]);
"
The code above will result in just "string\n\0", i cannot figure out how to
work around this....
Help would be very appreciated!
best regards
Ola Carlsson
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders