pf-tools/pf-tools: zone order
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Thu Apr 10 13:36:23 UTC 2014
details: http://hg.debian.org/hg/pf-tools/pf-tools/rev/f56b533c449c
changeset: 1267:f56b533c449c
user: shad
date: Thu Apr 10 15:25:17 2014 +0200
description:
zone order
diffstat:
lib/PFTools/Utils.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 932925395a3d -r f56b533c449c lib/PFTools/Utils.pm
--- a/lib/PFTools/Utils.pm Thu Apr 10 14:28:58 2014 +0200
+++ b/lib/PFTools/Utils.pm Thu Apr 10 15:25:17 2014 +0200
@@ -2016,7 +2016,7 @@
my $host_ref = $site_ref->{$vlan}->{$hostclass};
my $hostsdef = {};
- foreach my $hostname ( keys %{$host_ref} ) {
+ foreach my $hostname ( sort keys %{$host_ref} ) {
if ( $hostname =~ m{(number|comment)}xms ) {
$hostsdef->{$1} = $host_ref->{$hostname};
next;
More information about the pf-tools-commits
mailing list