/[radius]/radius/radiusd/snmpserv.c
ViewVC logotype

Diff of /radius/radiusd/snmpserv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.64 by gray, Thu Jun 19 12:39:42 2003 UTC revision 1.65 by gray, Sat Jul 19 22:15:12 2003 UTC
# Line 2658  snmp_decode(SNMP_REQ *req, u_char *buf, Line 2658  snmp_decode(SNMP_REQ *req, u_char *buf,
2658          int comm_len;          int comm_len;
2659          char ipbuf[DOTTED_QUAD_LEN];          char ipbuf[DOTTED_QUAD_LEN];
2660                    
2661            log_open(L_SNMP);
2662            
2663          if ((pdu = snmp_pdu_create(0)) == NULL) {          if ((pdu = snmp_pdu_create(0)) == NULL) {
2664                  radlog(L_ERR,                  radlog(L_ERR,
2665                         _("can't create SNMP PDU: %s"),                         _("can't create SNMP PDU: %s"),
# Line 2744  snmp_req_respond(REQUEST *request) Line 2746  snmp_req_respond(REQUEST *request)
2746          struct snmp_pdu *pdu;          struct snmp_pdu *pdu;
2747          int len;          int len;
2748    
         log_open(L_SNMP);  
2749          pdu = snmp_agent_response(req->pdu, req->access);          pdu = snmp_agent_response(req->pdu, req->access);
2750          if (pdu) {          if (pdu) {
2751                  session.version = SNMP_VERSION_1;                  session.version = SNMP_VERSION_1;

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26