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 7f2d45a commit 464638a
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 @@ -752,7 +752,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 464638a

Please sign in to comment.