Codebase list libnet-frame-perl / fe89ed8
Update upstream source from tag 'upstream/1.19' Update to upstream version '1.19' with Debian dir 69ad7a2ec59c148a5710c5cabfd4689dc8a248b3 Florian Schlichting 5 years ago
5 changed file(s) with 12 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Perl extension Net::Frame.
1
2 1.19 Thu 17 May 13:59:33 CEST 2018
3 - bugfix: test 13 when DNS getHostIpv6Addr() returns an IPv4 mapped to an IPv6 address
4 => https://rt.cpan.org/Ticket/Display.html?id=124780
15
26 1.18 Thu 15 Mar 16:16:39 CET 2018
37 - bugfix: https://rt.cpan.org/Ticket/Display.html?id=104689
3131 "provides" : {
3232 "Net::Frame" : {
3333 "file" : "lib/Net/Frame.pm",
34 "version" : "1.18"
34 "version" : "1.19"
3535 },
3636 "Net::Frame::Layer" : {
3737 "file" : "lib/Net/Frame/Layer.pm"
7070 "http://www.perlfoundation.org/artistic_license_1_0"
7171 ]
7272 },
73 "version" : "1.18",
73 "version" : "1.19",
7474 "x_serialization_backend" : "JSON::PP version 2.27400_02"
7575 }
1414 provides:
1515 Net::Frame:
1616 file: lib/Net/Frame.pm
17 version: '1.18'
17 version: '1.19'
1818 Net::Frame::Layer:
1919 file: lib/Net/Frame/Layer.pm
2020 Net::Frame::Layer::ARP:
4343 perl: v5.6.1
4444 resources:
4545 license: http://www.perlfoundation.org/artistic_license_1_0
46 version: '1.18'
46 version: '1.19'
4747 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
00 #
1 # $Id: Frame.pm,v 7609c9d085d3 2018/03/15 15:17:19 gomor $
1 # $Id: Frame.pm,v e0c446e27ca9 2018/05/17 11:59:58 gomor $
22 #
33 package Net::Frame;
44 use strict;
55 use warnings;
66
7 our $VERSION = '1.18';
7 our $VERSION = '1.19';
88
99 1;
1010
44
55 my $host = 'gomor.org';
66 my $ip6 = '2001:41d0:2:1a47::2';
7 my $ip6v4mapping = '::ffff:94.23.25.71';
78 my $ip4 = '94.23.25.71';
89
910 #
5758 ok(
5859 sub {
5960 my $ip = getHostIpv6Addr($host);
60 if ($ip eq $ip6) {
61 if ($ip eq $ip6 || $ip eq $ip6v4mapping) {
6162 print "[+] $ip\n";
6263 return 1; # OK
6364 }