correct a small typo and begin working on PTR stuff

This commit is contained in:
Zane C. B-H 2019-02-28 05:36:09 -06:00
parent 6112ee058d
commit 5fb4f34090
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
Revision history for Parse-Netstat-Search Revision history for Parse-Netstat-Search
0.2.0 ?/?
- Minor typo correction(japh).
0.1.1 2019-02-26/04:00 0.1.1 2019-02-26/04:00
- Apparently Net::CIDR does not like searching IPv4 and IPv6 at the - Apparently Net::CIDR does not like searching IPv4 and IPv6 at the
same time. Each requested CIDR is now checked on its own. While same time. Each requested CIDR is now checked on its own. While

View File

@ -5,6 +5,7 @@ use strict;
use warnings; use warnings;
use base 'Error::Helper'; use base 'Error::Helper';
use Net::CIDR; use Net::CIDR;
use Net::DNS;
=head1 NAME =head1 NAME
@ -12,11 +13,11 @@ Parse::Netstat::Search - Searches the connection list in the results returned by
=head1 VERSION =head1 VERSION
Version 0.1.1 Version 0.2.1
=cut =cut
our $VERSION = '0.1.1'; our $VERSION = '0.2.1';
=head1 SYNOPSIS =head1 SYNOPSIS
@ -212,7 +213,7 @@ sub search{
( ! defined( $res->[2]->{active_conns} ) ) ( ! defined( $res->[2]->{active_conns} ) )
){ ){
$self->{error}=3; $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; $self->warn;
return undef; return undef;
} }