Skip to content

Commit

Permalink
QA on #5554 - Wrong count
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Nov 6, 2023
1 parent 493839f commit a588c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/snmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ function format_snmp_string($string, $snmp_oid_included, $value_output_format =

if ($snmp_oid_included) {
/* strip off all leading junk (the oid and stuff) */
$string_array = explode('=', $string, 1);
$string_array = explode('=', $string, 2);

if (cacti_sizeof($string_array) == 1) {
/* trim excess first */
Expand Down

0 comments on commit a588c4f

Please sign in to comment.