forked from extern/shorewall_code
More sorting by interface number
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8126 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
06d3269f7e
commit
2cd7e2b2fb
@ -1841,7 +1841,7 @@ sub generate_matrix() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for my $typeref ( values %$dest_hosts_ref ) {
|
for my $typeref ( values %$dest_hosts_ref ) {
|
||||||
for my $interface ( keys %$typeref ) {
|
for my $interface ( sort { interface_number( $a ) <=> interface_number( $b ) } keys %$typeref ) {
|
||||||
my $arrayref = $typeref->{$interface};
|
my $arrayref = $typeref->{$interface};
|
||||||
for my $hostref ( @$arrayref ) {
|
for my $hostref ( @$arrayref ) {
|
||||||
next if $hostref->{options}{sourceonly};
|
next if $hostref->{options}{sourceonly};
|
||||||
|
Loading…
Reference in New Issue
Block a user