Changeset 775
- Timestamp:
- 09/25/15 17:08:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r774 r775 1983 1983 } 1984 1984 1985 @processlist = sort { $b->{cidr}->masklen <=> $a->{cidr}->masklen } @processlist; 1985 # Sort on masklen, crudely break ties by pushing container blocks down the stack. Multiple-nested containers 1986 # of the same size are virtually guaranteed to produce strange results, but should be rare enough to not matter 1987 @processlist = sort { $b->{cidr}->masklen <=> $a->{cidr}->masklen || $a->{type} =~ /^.m$/ } @processlist; 1986 1988 1987 1989 foreach my $pr (@processlist) {
Note:
See TracChangeset
for help on using the changeset viewer.