Skip to content

Commit 443eb75

Browse files
committed
Correct fix for netsnmp_ds_set_boolean
1 parent 9189b17 commit 443eb75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/snmp/snmp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ PHP_FUNCTION(snmp_set_mib_option)
15471547
case NETSNMP_DS_LIB_MIB_PARSE_LABEL:
15481548
case NETSNMP_DS_LIB_MIB_COMMENT_TERM:
15491549
case NETSNMP_DS_LIB_MIB_REPLACE:
1550-
netsnmp_ds_set_bool(NETSNMP_DS_LIBRARY_ID, a1, (int) a2);
1550+
netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, a1, (int) a2);
15511551
break;
15521552
default:
15531553
zend_argument_value_error(1, "must be an SNMP_MIB_* constant");
@@ -1597,7 +1597,7 @@ PHP_FUNCTION(snmp_set_output_option)
15971597
case NETSNMP_DS_LIB_DONT_PRINT_UNITS:
15981598
case NETSNMP_DS_LIB_PRINT_BARE_VALUE:
15991599
case NETSNMP_DS_LIB_EXTENDED_INDEX:
1600-
netsnmp_ds_set_bool(NETSNMP_DS_LIBRARY_ID, a1, (int) a2);
1600+
netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, a1, (int) a2);
16011601
break;
16021602
default:
16031603
zend_argument_value_error(1, "must be an SNMP_OUTPUT_* constant");

0 commit comments

Comments
 (0)