File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1542,6 +1542,7 @@ PHP_FUNCTION(snmp_set_mib_option)
15421542 case NETSNMP_DS_LIB_MIB_COMMENT_TERM :
15431543 case NETSNMP_DS_LIB_MIB_REPLACE :
15441544 netsnmp_ds_set_int (NETSNMP_DS_LIBRARY_ID , a1 , (int ) a2 );
1545+ break ;
15451546 default :
15461547 zend_argument_value_error (1 , "must be an SNMP_MIB_* constant" );
15471548 RETURN_THROWS ();
@@ -1563,6 +1564,7 @@ PHP_FUNCTION(snmp_set_string_output_format)
15631564 case NETSNMP_STRING_OUTPUT_ASCII :
15641565 case NETSNMP_STRING_OUTPUT_HEX :
15651566 netsnmp_ds_set_int (NETSNMP_DS_LIBRARY_ID , NETSNMP_DS_LIB_STRING_OUTPUT_FORMAT , a1 );
1567+ break ;
15661568 default :
15671569 zend_argument_value_error (1 , "must be an SNMP_STRING_OUTPUT_* constant" );
15681570 RETURN_THROWS ();
@@ -1590,6 +1592,7 @@ PHP_FUNCTION(snmp_set_output_option)
15901592 case NETSNMP_DS_LIB_PRINT_BARE_VALUE :
15911593 case NETSNMP_DS_LIB_EXTENDED_INDEX :
15921594 netsnmp_ds_set_int (NETSNMP_DS_LIBRARY_ID , a1 , (int ) a2 );
1595+ break ;
15931596 default :
15941597 zend_argument_value_error (1 , "must be an SNMP_OUTPUT_* constant" );
15951598 RETURN_THROWS ();
You can’t perform that action at this time.
0 commit comments