Skip to content

Commit

Permalink
fix nog_conns parsing for privoxy
Browse files Browse the repository at this point in the history
  • Loading branch information
VVelox committed Jun 19, 2023
1 parent 5567606 commit 8a79d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmp/privoxy
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ foreach my $line (@stdout_split) {
}
elsif ( $line =~ /^New\ outgoing\ connections\:/ ) {
$multiline_mode = '';
$line =~ s/.*\:\ \-//;
$line =~ s/.*\:\ //;
$line =~ s/\ .*$//;
$to_return->{data}{nog_conns} = $line;
}
Expand Down

0 comments on commit 8a79d16

Please sign in to comment.