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"), |
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; |