bump to 0.0.3 to fix an issue where Net::CIDR does sometimes not like some IPs

Este commit está contenido en:
Zane C. B-H 2019-02-25 06:27:23 -06:00
padre 2a24162726
commit b3bbb47024
Se han modificado 2 ficheros con 19 adiciones y 15 borrados

Ver fichero

@ -1,15 +1,19 @@
Revision history for Parse-Netstat-Search
0.0.2 2019-02-24/08:30
- Previous issue turned out to be specifically. Added
addtional handling for UDP as it is stateless. This
removes '?' from previously. State for for UDP is ''.
0.0.3 2019-02-25/06:30
- Use eval to talk to Net::CIDR as it seems to not always like IPv6.
This allows it to continue instead of killing the entire op.
0.0.1 2019-02-24/06:30
- Handle where FreeBSD does not state LISTEN.
- Add a missing error flag.
- If state is not defined use '?'.
0.0.2 2019-02-24/08:30
- Previous issue turned out to be specifically. Added
addtional handling for UDP as it is stateless. This
removes '?' from previously. State for for UDP is ''.
0.0.0 2019-02-20/06:00
-Initial release.
0.0.1 2019-02-24/06:30
- Handle where FreeBSD does not state LISTEN.
- Add a missing error flag.
- If state is not defined use '?'.
0.0.0 2019-02-20/06:00
-Initial release.

Ver fichero

@ -12,11 +12,11 @@ Parse::Netstat::Search - Searches the connection list in the results returned by
=head1 VERSION
Version 0.0.2
Version 0.0.3
=cut
our $VERSION = '0.0.2';
our $VERSION = '0.0.3';
=head1 SYNOPSIS
@ -271,11 +271,11 @@ sub search{
(
(
( $foreign_host ne '*' ) &&
( Net::CIDR::cidrlookup( $foreign_host, @{ $self->{cidrs} } ) )
( eval{ Net::CIDR::cidrlookup( $foreign_host, @{ $self->{cidrs} } ) })
) ||
(
( $local_host ne '*' ) &&
( Net::CIDR::cidrlookup( $local_host, @{ $self->{cidrs} } ) )
( eval{ Net::CIDR::cidrlookup( $local_host, @{ $self->{cidrs} } ) } )
)
)
) {
@ -634,7 +634,7 @@ L<https://metacpan.org/release/Parse-Netstat-Search>
=item * Code Repo
L<http://gitea.eesdp.org/vvelox/Parse-Netstat-Search>
L<https://gitea.eesdp.org/vvelox/Parse-Netstat-Search>
=back