mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
ids.cgi: Sort whitelist entries
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1253,7 +1253,7 @@ END
|
||||
my $col = "";
|
||||
|
||||
# Loop through all entries of the hash.
|
||||
while( (my $key) = each %ignored) {
|
||||
foreach my $key (sort { $ignored{$a}[0] <=> $ignored{$b}[0] } keys %ignored) {
|
||||
# Assign data array positions to some nice variable names.
|
||||
my $address = $ignored{$key}[0];
|
||||
my $remark = $ignored{$key}[1];
|
||||
|
||||
Reference in New Issue
Block a user