Pergunta

while recieving snmptrap on linux system...every thing working fine,but in windows server & XP I am getting Could not format log-string.Anyone please help me to solve this problem. I am using Net-SNMP-5.6.1.1 for windows server. Thanks in Advance

Foi útil?

Solução

This is because of supplied snprintf() is used instead of sprintf() as it does limit checks for string length. or because of Void debugmsg_hex(const char *token, const u_char * thedata, size_t len) which can accept no longer than LOGLENGTH==1024. Resolve: verify snmp_logging.c and remove checks.
CODE


what is complete error message. I need the printed code.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top