Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libnet-cidr-perl
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian Perl Group
M
modules
packages
libnet-cidr-perl
Commits
8633790d
Commit
8633790d
authored
Feb 28, 2019
by
Nick Morrott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import Upstream version 0.11
parent
9393c582
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
CIDR.pm
CIDR.pm
+3
-3
Changes
Changes
+3
-0
No files found.
CIDR.pm
View file @
8633790d
...
...
@@ -7,7 +7,7 @@
# This program is free software; you can redistribute it
# and/or modify it under the same terms as Perl itself.
#
# $Revision: 1.1
6
$
# $Revision: 1.1
7
$
package
Net::
CIDR
;
...
...
@@ -54,7 +54,7 @@ use Math::BigInt;
)
;
$VERSION
=
"
0.1
0
";
$VERSION
=
"
0.1
1
";
1
;
...
...
@@ -1001,7 +1001,7 @@ sub cidradd {
$b
[
$i
]
=
undef
;
}
unless
(
_ipcmp
(
$lo
,
$hi
)
>
0
)
unless
(
(
!
defined
$lo
)
||
(
!
defined
$hi
)
||
_ipcmp
(
$lo
,
$hi
)
>
0
)
{
push
@a
,
$lo
;
push
@b
,
$hi
;
...
...
Changes
View file @
8633790d
...
...
@@ -15,3 +15,6 @@ Revision history for Perl extension Net::CIDR.
0.10 Mon Jul 19 19:45:33 EDT 2004
- Fix warning in addrandmask2cidr
- Fix validation of IPv6 addresses. 1:2 is not a valid Ipv6 address.
0.11 Tue Aug 9 21:17:55 EDT 2005
- Fix croak in cidradd if adding after 255.255.255.255
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment