From 5fb4f34090fcff9b73cff0afec9c683871891263 Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Thu, 28 Feb 2019 05:36:09 -0600 Subject: [PATCH] correct a small typo and begin working on PTR stuff --- Parse-Netstat-Search/Changes | 3 +++ Parse-Netstat-Search/lib/Parse/Netstat/Search.pm | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Parse-Netstat-Search/Changes b/Parse-Netstat-Search/Changes index a90f06f..ee2e205 100644 --- a/Parse-Netstat-Search/Changes +++ b/Parse-Netstat-Search/Changes @@ -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 diff --git a/Parse-Netstat-Search/lib/Parse/Netstat/Search.pm b/Parse-Netstat-Search/lib/Parse/Netstat/Search.pm index e9a26f4..9baa332 100644 --- a/Parse-Netstat-Search/lib/Parse/Netstat/Search.pm +++ b/Parse-Netstat-Search/lib/Parse/Netstat/Search.pm @@ -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; }