Browse Source

correct a small typo and begin working on PTR stuff

tags/0.2.0
Zane C. B-H 8 months ago
parent
commit
5fb4f34090
2 changed files with 7 additions and 3 deletions
  1. 3
    0
      Parse-Netstat-Search/Changes
  2. 4
    3
      Parse-Netstat-Search/lib/Parse/Netstat/Search.pm

+ 3
- 0
Parse-Netstat-Search/Changes View File

@@ -1,5 +1,8 @@
Revision history for Parse-Netstat-Search

0.2.0 ?/?
- Minor typo correction(japh).

0.1.1 2019-02-26/04:00
- Apparently Net::CIDR does not like searching IPv4 and IPv6 at the
same time. Each requested CIDR is now checked on its own. While

+ 4
- 3
Parse-Netstat-Search/lib/Parse/Netstat/Search.pm View File

@@ -5,6 +5,7 @@ use strict;
use warnings;
use base 'Error::Helper';
use Net::CIDR;
use Net::DNS;

=head1 NAME

@@ -12,11 +13,11 @@ Parse::Netstat::Search - Searches the connection list in the results returned by

=head1 VERSION

Version 0.1.1
Version 0.2.1

=cut

our $VERSION = '0.1.1';
our $VERSION = '0.2.1';


=head1 SYNOPSIS
@@ -212,7 +213,7 @@ sub search{
( ! defined( $res->[2]->{active_conns} ) )
){
$self->{error}=3;
$self->{errorString}='$res->[2]->{active_conns} not defiend. Does not appear to be a Parse::Netstat return';
$self->{errorString}='$res->[2]->{active_conns} not defined. Does not appear to be a Parse::Netstat return';
$self->warn;
return undef;
}

Loading…
Cancel
Save