callback_print

Gbp-Pq: Name callback_print.diff
This commit is contained in:
Net-SNMP Packaging Team 2018-03-05 21:13:51 +11:00 committed by Lu zhiping
parent 8822c0fff5
commit 1d3b111af5
1 changed files with 4 additions and 0 deletions

View File

@ -1296,6 +1296,10 @@ void *cb_data;
netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS, 1);
netsnmp_ds_set_int(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_OID_OUTPUT_FORMAT, NETSNMP_OID_OUTPUT_NUMERIC);
}
if (SvIV(*hv_fetch((HV*)SvRV(sess_ref),"UseEnums", 8, 1)))
sprintval_flag = USE_ENUMS;
if (SvIV(*hv_fetch((HV*)SvRV(sess_ref),"UseSprintValue", 14, 1)))
sprintval_flag = USE_SPRINT_VALUE;
sv_bless(varlist_ref, gv_stashpv("SNMP::VarList",0));
for(vars = (pdu?pdu->variables:NULL); vars; vars = vars->next_variable) {