Dear net-snmp development workers:
I am tommy_hung.I have some trouble , now! When i execute traceRouteCtlTable
of the Disman-MIB.The snmpd demons could be stop.
I try to look up the error of answer . Finally , i have find it.There was
something to detonated on the traceRouteCtlTable.c , The example are as
following:
The example is "run_traceRoute function" in the traceRouteCtlTable.c
/**********************************************/
cp = "icmp";
if ((pe = getprotobyname(cp)) == NULL) {
DEBUGMSGTL(("traceRouteCtlTable",
"unknown protocol %s\n", cp));
exit(1);
}
/*********************************************/
The result is exit(1);
Because i have printed "pe".
fprintf(pe=%s,pe);
/***************************************************************************************/
Result:
pe = (Null)
So the mistake was happened to execute exit(1),I don't know how to sloved the
problem.
Have i forgot to set up the somethings?Or what do i lost the components ?
/***************************************************************************************/
So , could you help me to slove those mazy ? Please......
Thank you very much!!
Tommy_Hung
Best Regards
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders