Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed numeric sorting to lexically resolving issue #851 #852

Merged
merged 2 commits into from
Nov 27, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Changed numeric sorting to lexically resolving issue #851
  • Loading branch information
matsduf committed Nov 20, 2020
commit c75753a486de4b33fc364416eb83cb85b593c59a
4 changes: 2 additions & 2 deletions lib/Zonemaster/Engine/Test/Connectivity.pm
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,9 @@ sub connectivity03 {
} ## end foreach my $v6ip ( @v6ips )

@v4asns = uniq sort { $a <=> $b } @v4asns;
@v4asnsets = uniq sort { $a <=> $b } @v4asnsets;
@v4asnsets = uniq sort @v4asnsets;
@v6asns = uniq sort { $a <=> $b } @v6asns;
@v6asnsets = uniq sort { $a <=> $b } @v6asnsets;
@v6asnsets = uniq sort @v6asnsets;

if ( scalar @v4asns ) {
if ( @v4asns == 1 ) {
Expand Down